]> git.ozlabs.org Git - ccan/blobdiff - ccan/tal/test/run.c
base64: fix for unsigned chars (e.g. ARM).
[ccan] / ccan / tal / test / run.c
index 984865125deca6538ea531b714a077dce3a05b87..4931099e79049e3fa74ce316444f08a325633b3f 100644 (file)
@@ -25,7 +25,7 @@ int main(void)
 
        /* Iteration test. */
        i = 0;
-       for (p = tal_first(parent); p; p = tal_next(parent, p)) {
+       for (p = tal_first(parent); p; p = tal_next(p)) {
                *p = '1';
                i++;
        }