Commit 077e453f authored by unknown's avatar unknown

Fix compiler warnings

parent 4997ddfa
......@@ -249,8 +249,7 @@ extern ulonglong strtoull(const char *str, char **ptr, int base);
extern size_t my_vsnprintf(char *str, size_t n,
const char *format, va_list ap);
extern size_t my_snprintf(char *to, size_t n, const char *fmt, ...)
ATTRIBUTE_FORMAT(printf, 3, 4);
extern size_t my_snprintf(char *to, size_t n, const char *fmt, ...);
#if defined(__cplusplus)
}
......
......@@ -437,7 +437,7 @@ size_t my_b_vprintf(IO_CACHE *info, const char* fmt, va_list args)
/* 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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment