Skip to content

Commit 7a853f9

Browse files
committed
fix warning
1 parent bcc74e6 commit 7a853f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msgpack_unpack.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,7 @@ int msgpack_unserialize_map_item(msgpack_unserialize_data *unpack, zval **contai
692692
rval = unpack->retval;
693693
} else {
694694
MSGPACK_WARNING("[msgpack] (%s) Invalid references value: %ld",
695-
__FUNCTION__, Z_LVAL_P(val) - 1);
695+
__FUNCTION__, (long) Z_LVAL_P(val) - 1);
696696

697697
MSGPACK_UNSERIALIZE_FINISH_MAP_ITEM(unpack, key, val);
698698
return 0;

0 commit comments

Comments
 (0)