Visitar URL original
fix: check return code in `unpack_callback_int64` by KowalskiThomas · Pull Request #665 · msgpack/msgpack-python · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestion from @methane
  • Loading branch information
methane authored Apr 21, 2026
commit 1e28db75ba428caf2b391a889d0955d604914444
2 changes: 1 addition & 1 deletion msgpack/unpack.h
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ static inline int unpack_callback_int64(unpack_user* u, int64_t d, msgpack_unpac
p = PyLong_FromLongLong((PY_LONG_LONG)d);
} else {
p = PyLong_FromLong((long)d);
}
PyObject *p = PyLong_FromLongLong((PY_LONG_LONG)d);
if (!p)
return -1;
*o = p;
Expand Down
Loading