mirror of
https://github.com/MariaDB/server.git
synced 2026-05-17 20:37:12 +02:00
Remove compiler warnings regarding signed/unsigned compare in mroonga
This commit is contained in:
parent
e42130e9cd
commit
163be5fd8c
20 changed files with 165 additions and 151 deletions
|
|
@ -1540,7 +1540,7 @@ GRN_API void grn_ctx_recv_handler_set(grn_ctx *,
|
|||
} while (0)
|
||||
|
||||
#define GRN_BULK_POP(obj, value, type, default) do {\
|
||||
if (GRN_BULK_VSIZE(obj) >= sizeof(type)) {\
|
||||
if ((size_t) GRN_BULK_VSIZE(obj) >= sizeof(type)) { \
|
||||
GRN_BULK_INCR_LEN((obj), -(sizeof(type)));\
|
||||
value = *(type *)(GRN_BULK_CURR(obj));\
|
||||
} else {\
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue