From: Yang Tse Date: Fri, 13 Apr 2007 08:45:07 +0000 (+0000) Subject: proper fix for compiler warning X-Git-Tag: curl-7_16_3~191 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b039d883e54b5cf10935f0195b19512460f368dc;p=thirdparty%2Fcurl.git proper fix for compiler warning --- diff --git a/lib/base64.c b/lib/base64.c index 7b2a9c6a79..a46d1f7627 100644 --- a/lib/base64.c +++ b/lib/base64.c @@ -59,7 +59,7 @@ static void decodeQuantum(unsigned char *dest, const char *src) char *found; for(i = 0; i < 4; i++) { - if((found = strchr(table64, src[i])) != 0) + if((found = strchr(table64, src[i])) != NULL) x = (x << 6) + (unsigned int)(found - table64); else if(src[i] == '=') x = (x << 6);