diff options
author | Yang Tse <yangsita@gmail.com> | 2007-04-13 08:45:07 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-04-13 08:45:07 +0000 |
commit | b039d883e54b5cf10935f0195b19512460f368dc (patch) | |
tree | 349aa14ff8a6c4edc87ddb261e489885edeb3ac7 | |
parent | b3401ddbadaab60f76fb46823ed7bcb9494a5fc3 (diff) |
proper fix for compiler warning
-rw-r--r-- | lib/base64.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base64.c b/lib/base64.c index 7b2a9c6a7..a46d1f762 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); |