Skip to content

Commit

Permalink
Correct zmq assertion failure for 64-bit TZMQPoller.Poll
Browse files Browse the repository at this point in the history
  • Loading branch information
toleressea committed Dec 10, 2018
1 parent 8c4126a commit 49e05cf
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion zmq.pas
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,11 @@ function zmq_socket_monitor( s: Pointer; addr: PAnsiChar; events: Integer ): Int
type
pollitem_t = record
socket: Pointer;
fd: Integer; // TSocket???
{$if Defined(UNIX) or Defined(WIN64)}
fd: QWord; // TSocket???
{$else}
fd: Cardinal;
{$endif}
events: Word;
revents: Word;
end;
Expand Down

0 comments on commit 49e05cf

Please sign in to comment.