Skip to content

Commit

Permalink
Fix for test_lift on windows (should use c_ssize_t instead of c_long)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwiebe committed Jun 4, 2013
1 parent 416d7d6 commit 27ae0f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blaze/playground/test_lift.py
Expand Up @@ -28,7 +28,7 @@ def create_func(mod):
def _convert(arr, struct):
address, count = arr.buffer_info()
buff = ctypes.cast(address, ctypes.POINTER(ctypes.c_double))
shape = (ctypes.c_long * 1)(count)
shape = (ctypes.c_ssize_t * 1)(count)
val = struct(buff, shape)
return val

Expand Down

0 comments on commit 27ae0f2

Please sign in to comment.