Skip to content

Commit

Permalink
fixup: fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
karknu committed Feb 11, 2025
1 parent e7fb5de commit d5bc899
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network-mux/src/Network/Mux/Bearer/Socket.hs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ socketAsMuxBearer sduSize batchSize readBuffer readBufferSize sduTimeout tracer
if BL.null availableData
then do
#if defined(mingw32_HOST_OS)
buf <- Win32.Async.recv sd (max l readBufferSize)
buf <- Win32.Async.recv sd (fromIntegral $ max l readBufferSize)
#else
buf <- Socket.recv sd (max l readBufferSize)
#endif
Expand Down

0 comments on commit d5bc899

Please sign in to comment.