X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=src%2Fbase64.c;h=a8eb2031978e033217b7f6f5603df29b3137585e;hb=3ae80066499b6ec541c8f474654668f65f0f1c3c;hp=2e44ff6904590f83dcb3d58dbf392ebe2577d761;hpb=5db2880c5fccc20012549556893bf93668657c1a;p=yaz-moved-to-github.git diff --git a/src/base64.c b/src/base64.c index 2e44ff6..a8eb203 100644 --- a/src/base64.c +++ b/src/base64.c @@ -1,5 +1,5 @@ /* This file is part of the YAZ toolkit. - * Copyright (C) 1995-2012 Index Data + * Copyright (C) 1995-2013 Index Data * See the file LICENSE for details. */ /** @@ -85,8 +85,8 @@ int yaz_base64decode(const char *in, char *out) while (len >= 4) { - char i0, i1, i2, i3; - + int i0, i1, i2, i3; + i0 = next_char(&in, &len); if (i0 < 0) return -1;