Skip to content

Commit 3b2be70

Browse files
committed
fix #18 #7
1 parent 4193b6f commit 3b2be70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python_sproto.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ decode(const struct sproto_arg *args) {
215215
data = Py_BuildValue("i", *(int32_t*)i);
216216
break;
217217
} else if (length == 8) {
218-
data = Py_BuildValue("l", *(int64_t*)i);
218+
data = Py_BuildValue("L", *(int64_t*)i);
219219
break;
220220
} else {
221221
PyErr_SetString(SprotoError, "unexpected integer length");

0 commit comments

Comments
 (0)