Skip to content

Commit b265f3c

Browse files
committed
Fix msgpack_unpacker_stack_pop return type
1 parent 3778272 commit b265f3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/msgpack/unpacker.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ static inline int _msgpack_unpacker_stack_push(msgpack_unpacker_t* uk, enum stac
245245
return PRIMITIVE_CONTAINER_START;
246246
}
247247

248-
static inline VALUE msgpack_unpacker_stack_pop(msgpack_unpacker_t* uk)
248+
static inline size_t msgpack_unpacker_stack_pop(msgpack_unpacker_t* uk)
249249
{
250250
return --uk->stack.depth;
251251
}

0 commit comments

Comments
 (0)