Commit 502e2445 authored by Vladislav Vaintroub's avatar Vladislav Vaintroub

Fix warnings

parent 6c279ad6
......@@ -1235,7 +1235,7 @@ static int write_log(const char *message, size_t len)
if (output_type == OUTPUT_FILE)
{
if (logfile &&
(is_active= (logger_write(logfile, message, len) == len)))
(is_active= (logger_write(logfile, message, len) == (ssize_t)len)))
return 0;
++log_write_failures;
return 1;
......
......@@ -158,7 +158,7 @@ uint find_type2(const TYPELIB *typelib, const char *x, size_t length,
int pos;
const char *j;
DBUG_ENTER("find_type2");
DBUG_PRINT("enter",("x: '%.*s' lib: %p", length, x, typelib));
DBUG_PRINT("enter",("x: '%.*s' lib: %p", (int)length, x, typelib));
if (!typelib->count)
{
......
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