summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-03-20 16:27:53 +0200
committerGeorgi Kodinov <joro@sun.com>2009-03-20 16:27:53 +0200
commite8cc09dc8df647f7786a7914cecf449570f2394e (patch)
treeb7dcdd9f750b94c728ed5e3feed722a8809775ad /mysys
parent26adc3cdc75815533fe47f978d6fa04d8562b643 (diff)
downloadmariadb-git-e8cc09dc8df647f7786a7914cecf449570f2394e.tar.gz
fixed compilation warnings. addendum to the fix for bug 29125
Diffstat (limited to 'mysys')
-rw-r--r--mysys/base64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/base64.c b/mysys/base64.c
index f7d9c8b0d09..ab66715c929 100644
--- a/mysys/base64.c
+++ b/mysys/base64.c
@@ -223,7 +223,7 @@ base64_decode(const char *src_base, size_t len,
The variable 'i' is set to 'len' when padding has been read, so it
does not actually reflect the number of bytes read from 'src'.
*/
- return i != len ? -1 : (uint) (d - dst_base);
+ return i != len ? -1 : (int) (d - dst_base);
}