Skip to content

Commit 492cfae

Browse files
committed
Merge pull request #51 from Jan-E/php7
Fix VC14 build
2 parents 8456c96 + 9390daa commit 492cfae

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

config.w32

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// $Id$
22
// vim:ft=javascript
33

4-
ARG_ENABLE("msgpack", "for msgpack support", "yes");
4+
ARG_ENABLE("msgpack", "for msgpack support", "no");
55

66
if (PHP_MSGPACK != "no") {
77
EXTENSION("msgpack", "msgpack.c", PHP_MSGPACK_SHARED, "");

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)