Skip to content

Commit

Permalink
fixup! fixup! fixup! Replace "Array Word8" in the Event module with "…
Browse files Browse the repository at this point in the history
…Path" in Windows
  • Loading branch information
adithyaov committed Oct 16, 2024
1 parent 7eddea4 commit 94f160c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Streamly/Internal/FileSystem/Event/Windows.hs
Original file line number Diff line number Diff line change
Expand Up @@ -354,8 +354,9 @@ peekFNI buf = do
neof <- peekByteOff buf 0
acti <- peekByteOff buf 4
fnle <- peekByteOff buf 8
fnam <- Array.fromPtrN fnle (buf `plusPtr` 12)
return $ FILE_NOTIFY_INFORMATION neof acti (Path.fromChunk fnam)
fnam0 <- Array.fromPtrN fnle (buf `plusPtr` 12)
fnam <- Path.fromChunk fnam0
return $ FILE_NOTIFY_INFORMATION neof acti fnam

readChangeEvents ::
Ptr FILE_NOTIFY_INFORMATION -> Path -> DWORD -> IO [Event]
Expand Down

0 comments on commit 94f160c

Please sign in to comment.