Skip to content

Commit 9390daa

Browse files
committed
Fix illegal redirection on VC11
1 parent 4442dd5 commit 9390daa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msgpack_unpack.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ typedef struct {
4949
zval_ptr_dtor(_val); \
5050
MSGPACK_UNSERIALIZE_FINISH_ITEM(_unpack, _key, _val);
5151

52-
#define MSGPACK_IS_STACK_VALUE(_v) (Z_TYPE_P((_v)) < IS_ARRAY)
52+
#define MSGPACK_IS_STACK_VALUE(_v) (Z_TYPE_P((zval *)(_v)) < IS_ARRAY)
5353

5454
static zval *msgpack_var_push(msgpack_unserialize_data_t *var_hashx) /* {{{ */ {
5555
var_entries *var_hash, *prev = NULL;

0 commit comments

Comments
 (0)