Compile warning fixed in galera_mon.c

Compile warning fixed in galera_mon.c
This commit is contained in:
MassimilianoPinto
2014-05-28 09:39:33 +02:00
parent a45e009dfe
commit 78a02f5297

View File

@ -123,7 +123,7 @@ MYSQL_MONITOR *handle;
handle->defaultPasswd = NULL; handle->defaultPasswd = NULL;
spinlock_init(&handle->lock); spinlock_init(&handle->lock);
} }
handle->tid = thread_start(monitorMain, handle); handle->tid = (THREAD)thread_start(monitorMain, handle);
return handle; return handle;
} }
@ -138,7 +138,7 @@ stopMonitor(void *arg)
MYSQL_MONITOR *handle = (MYSQL_MONITOR *)arg; MYSQL_MONITOR *handle = (MYSQL_MONITOR *)arg;
handle->shutdown = 1; handle->shutdown = 1;
thread_wait(handle->tid); thread_wait((void *)handle->tid);
} }
/** /**