Skip to content

Commit 264e658

Browse files
committed
Socket options should be integer, not long
1 parent 3acd916 commit 264e658

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nanomsg/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ class Socket(object):
159159
160160
"""
161161

162-
_INT_PACKER = _Struct(str('l'))
162+
_INT_PACKER = _Struct(str('i'))
163163

164164
class _Endpoint(object):
165165
def __init__(self, socket, endpoint_id, address):

0 commit comments

Comments
 (0)