From 038fe54e2133119e7836d79ea4aaa5ca705159fc Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Fri, 13 Apr 2007 07:57:31 +0000 Subject: fix compiler warning --- lib/base64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/base64.c') diff --git a/lib/base64.c b/lib/base64.c index 5669e4c1d..7b2a9c6a7 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]))) + if((found = strchr(table64, src[i])) != 0) x = (x << 6) + (unsigned int)(found - table64); else if(src[i] == '=') x = (x << 6); -- cgit v1.2.3