Navigation Menu

Skip to content

Commit

Permalink
Suppress a warning on MSVC
Browse files Browse the repository at this point in the history
    expr.c(967): warning C4305: '+=' : truncation from 'unsigned int' to 'grn_obj_flags' [C:\projects\groonga\lib\libgroonga.vcxproj]
  • Loading branch information
kou committed Jan 10, 2015
1 parent 407aa72 commit 34d228a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/grn_str.h
Expand Up @@ -77,7 +77,7 @@ GRN_API grn_str *grn_str_open_(grn_ctx *ctx, const char *str, unsigned int str_l
if (GRN_BULK_OUTP(buf)) {\
(buf)->u.b.curr += (len);\
} else {\
(buf)->header.flags += (len);\
(buf)->header.flags += (grn_obj_flags)(len);\
}\
} while (0)

Expand Down

0 comments on commit 34d228a

Please sign in to comment.