X-Git-Url: http://git.indexdata.com/?p=yaz-moved-to-github.git;a=blobdiff_plain;f=src%2Fbase64.c;h=a8eb2031978e033217b7f6f5603df29b3137585e;hp=2e44ff6904590f83dcb3d58dbf392ebe2577d761;hb=2c293bcf3f3d36ca121b1e23769919c941e8ea19;hpb=5db2880c5fccc20012549556893bf93668657c1a 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;