io.files.windows: SetFilePointer takes a PLONG not a uint pointer.

db4
Doug Coleman 2015-10-09 19:50:06 -07:00
parent 78f9fe9053
commit db793e06f6
1 changed files with 1 additions and 1 deletions

View File

@ -263,7 +263,7 @@ M: windows init-stdio
GetLastError ERROR_ALREADY_EXISTS = not ;
: set-file-pointer ( handle length method -- )
[ [ handle>> ] dip d>w/w uint <ref> ] dip SetFilePointer
[ [ handle>> ] dip d>w/w LONG <ref> ] dip SetFilePointer
INVALID_SET_FILE_POINTER = [ "SetFilePointer failed" throw ] when ;
M: windows (file-reader) ( path -- stream )