Skip to content

Commit 1e28db7

Browse files
authored
Apply suggestion from @methane
1 parent a85e02d commit 1e28db7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

msgpack/unpack.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ static inline int unpack_callback_int64(unpack_user* u, int64_t d, msgpack_unpac
103103
p = PyLong_FromLongLong((PY_LONG_LONG)d);
104104
} else {
105105
p = PyLong_FromLong((long)d);
106-
}
106+
PyObject *p = PyLong_FromLongLong((PY_LONG_LONG)d);
107107
if (!p)
108108
return -1;
109109
*o = p;

0 commit comments

Comments
 (0)