prevent signed/unsigned conflicts
This commit is contained in:
@ -237,7 +237,7 @@ char *
|
|||||||
modutil_get_SQL(GWBUF *buf)
|
modutil_get_SQL(GWBUF *buf)
|
||||||
{
|
{
|
||||||
unsigned int len, length;
|
unsigned int len, length;
|
||||||
unsigned char *ptr, *dptr, *rval = NULL;
|
char *ptr, *dptr, *rval = NULL;
|
||||||
|
|
||||||
if (!modutil_is_SQL(buf))
|
if (!modutil_is_SQL(buf))
|
||||||
return rval;
|
return rval;
|
||||||
@ -671,4 +671,4 @@ static void modutil_reply_routing_error(
|
|||||||
/** Create an incoming event for backend DCB */
|
/** Create an incoming event for backend DCB */
|
||||||
poll_add_epollin_event_to_dcb(backend_dcb, buf);
|
poll_add_epollin_event_to_dcb(backend_dcb, buf);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user