Skip to content

Commit

Permalink
Fix msgpack_unpacker_stack_pop return type
Browse files Browse the repository at this point in the history
  • Loading branch information
byroot committed Nov 11, 2024
1 parent 3778272 commit b265f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/msgpack/unpacker.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ static inline int _msgpack_unpacker_stack_push(msgpack_unpacker_t* uk, enum stac
return PRIMITIVE_CONTAINER_START;
}

static inline VALUE msgpack_unpacker_stack_pop(msgpack_unpacker_t* uk)
static inline size_t msgpack_unpacker_stack_pop(msgpack_unpacker_t* uk)
{
return --uk->stack.depth;
}
Expand Down

0 comments on commit b265f3c

Please sign in to comment.