summaryrefslogtreecommitdiff
path: root/mysys/base64.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/base64.c')
-rw-r--r--mysys/base64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/base64.c b/mysys/base64.c
index 610797dd2ce..fb51bdb3a60 100644
--- a/mysys/base64.c
+++ b/mysys/base64.c
@@ -42,7 +42,7 @@ base64_needed_encoded_length(int length_of_data)
int
base64_needed_decoded_length(int length_of_encoded_data)
{
- return ceil(length_of_encoded_data * 3 / 4);
+ return (int)ceil(length_of_encoded_data * 3 / 4);
}