summaryrefslogtreecommitdiff
path: root/mysys/mf_iocache2.c
diff options
context:
space:
mode:
Diffstat (limited to 'mysys/mf_iocache2.c')
-rw-r--r--mysys/mf_iocache2.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mysys/mf_iocache2.c b/mysys/mf_iocache2.c
index d0918fb5706..3c23d0737e7 100644
--- a/mysys/mf_iocache2.c
+++ b/mysys/mf_iocache2.c
@@ -426,9 +426,9 @@ process_flags:
/* minimum width padding */
if (minimum_width > length2)
{
- char *buffz;
+ uchar *buffz;
- buffz= my_alloca(minimum_width - length2);
+ buffz= (uchar*) my_alloca(minimum_width - length2);
if (is_zero_padded)
memset(buffz, '0', minimum_width - length2);
else
@@ -470,3 +470,4 @@ process_flags:
err:
return (size_t) -1;
}
+