diff options
Diffstat (limited to 'storage/mroonga/vendor/groonga/lib/proc/proc_table.c')
-rw-r--r-- | storage/mroonga/vendor/groonga/lib/proc/proc_table.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/mroonga/vendor/groonga/lib/proc/proc_table.c b/storage/mroonga/vendor/groonga/lib/proc/proc_table.c index c3cf2b21499..3c40992de49 100644 --- a/storage/mroonga/vendor/groonga/lib/proc/proc_table.c +++ b/storage/mroonga/vendor/groonga/lib/proc/proc_table.c @@ -40,7 +40,7 @@ command_table_create_parse_flags(grn_ctx *ctx, #define CHECK_FLAG(name) \ name_size = strlen(#name); \ - if ((end - nptr) >= name_size && \ + if ((unsigned long) (end - nptr) >= (unsigned long) name_size && \ memcmp(nptr, #name, name_size) == 0) { \ flags |= GRN_OBJ_ ## name; \ nptr += name_size; \ |