diff --git a/ChangeLog b/ChangeLog index dac2e90fb7b0c951e1dddc6da47325f9b66b84e2..441ea636f72059ae168a2a53a56b43ee4cd5bd2b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-10-21 Pontus Sk�ld <pont@soua.net> + + * base64-encode.c (base64_encode_raw): Fixed null statement + amongst variable declarations, broke compilation for non C99 + compilers. + 2002-10-21 Niels M�ller <nisse@lysator.liu.se> * examples/sexp-conv.c: New sexp conversion program. diff --git a/base64-encode.c b/base64-encode.c index 13b625268e5273171d3b854f771b5f7391cd05b1..02aa14a655039c3b21a3cbcaa32b72d6fccaffaf 100644 --- a/base64-encode.c +++ b/base64-encode.c @@ -38,7 +38,7 @@ static const uint8_t encode_table[64] = void base64_encode_raw(uint8_t *dst, unsigned length, const uint8_t *src) { - const uint8_t *in = src + length;; + const uint8_t *in = src + length; uint8_t *out = dst + BASE64_ENCODE_RAW_LENGTH(length); unsigned left_over = length % 3;