diff options
author | Yang Tse <yangsita@gmail.com> | 2007-04-13 07:57:31 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2007-04-13 07:57:31 +0000 |
commit | 038fe54e2133119e7836d79ea4aaa5ca705159fc (patch) | |
tree | 92e7fd1b3f072e98cb7f4a56df475b8d3cf37120 /lib/base64.c | |
parent | 4b5a65455e0c88660540755541e88d8307259834 (diff) |
fix compiler warning
Diffstat (limited to 'lib/base64.c')
-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 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); |