Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use uint32_t for value size.
lib/output.c:526:90: warning: passing 'int *' to
parameter of type 'uint32_t *' (aka 'unsigned int *') converts between
pointers to integer types with different sign [-Wpointer-sign]
...*ri = (grn_rset_recinfo *)grn_obj_get_value_(ctx, a->obj, id, &vs);
^~~
lib/db.h:232:89: note: passing argument to
parameter 'size' here
...*ctx, grn_obj *obj, grn_id id, uint32_t *size);
^
lib/output.c:533:90: warning: passing 'int *' to
parameter of type 'uint32_t *' (aka 'unsigned int *') converts between
pointers to integer types with different sign [-Wpointer-sign]
...*ri = (grn_rset_recinfo *)grn_obj_get_value_(ctx, a->obj, id, &vs);
^~~
lib/db.h:232:89: note: passing argument to
parameter 'size' here
...*ctx, grn_obj *obj, grn_id id, uint32_t *size);
^- Loading branch information