Skip to content

Commit 1e41bf6

Browse files
authored
Merge pull request #1582 from kou/fix-ruby-bindings-runtime-error-on-windows
Problem: Ruby bindings don't work on Windows
2 parents 4e18f29 + 0dbe55e commit 1e41bf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bindings/ruby/lib/czmq/ffi.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ def self.zsock_leave(*)
10621062
attach_function :zsock_tcp_accept_filter, [:pointer], :pointer, **opts
10631063
attach_function :zsock_set_tcp_accept_filter, [:pointer, :string], :void, **opts
10641064
attach_function :zsock_rcvmore, [:pointer], :int, **opts
1065-
attach_function :zsock_fd, [:pointer], (::FFI::Platform.unix? ? :int : :uint64_t), **opts
1065+
attach_function :zsock_fd, [:pointer], (::FFI::Platform.unix? ? :int : :uint64), **opts
10661066
attach_function :zsock_events, [:pointer], :int, **opts
10671067
attach_function :zsock_last_endpoint, [:pointer], :pointer, **opts
10681068
attach_function :zsock_set_router_raw, [:pointer, :int], :void, **opts

0 commit comments

Comments
 (0)