X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fstr%2Fbase32%2Fbase32.c;fp=ccan%2Fstr%2Fbase32%2Fbase32.c;h=6145da3007657319e5c7da615cf862fe4ef10dcb;hb=c16c021735d53348b6f5fe119e35feea85e6638e;hp=71ca87d582e590ba61745e35d956264d2061d411;hpb=9fdfa56eff5a90cd6f6052b5940b947bc3a704b4;p=ccan diff --git a/ccan/str/base32/base32.c b/ccan/str/base32/base32.c index 71ca87d5..6145da30 100644 --- a/ccan/str/base32/base32.c +++ b/ccan/str/base32/base32.c @@ -70,7 +70,8 @@ static bool decode_8_chars(const char c[8], beint64_t *res, int *bytes) { uint64_t acc = 0; size_t num_pad = 0; - for (int i = 0; i < 8; i++) { + int i; + for (i = 0; i < 8; i++) { const char *p; acc <<= 5;