diff --git a/mysys/mf_iocache2.c b/mysys/mf_iocache2.c
index 72372ae6bc0f33323fd5895c191d733764696f4c..ff05b7fa485eb3959eeeee1299bd82796dbb277a 100644
--- a/mysys/mf_iocache2.c
+++ b/mysys/mf_iocache2.c
@@ -440,7 +440,7 @@ process_flags:
       /* TODO: implement precision */
       if (backtick_quoting)
       {
-        size_t total= my_b_write_backtick_quote(info, (uchar *) par, length2);
+        size_t total= my_b_write_backtick_quote(info, par, length2);
         if (total == (size_t)-1)
           goto err;
         out_length+= total;