io.files.windows: SetFilePointer takes a PLONG not a uint pointer.
parent
78f9fe9053
commit
db793e06f6
|
@ -263,7 +263,7 @@ M: windows init-stdio
|
||||||
GetLastError ERROR_ALREADY_EXISTS = not ;
|
GetLastError ERROR_ALREADY_EXISTS = not ;
|
||||||
|
|
||||||
: set-file-pointer ( handle length method -- )
|
: 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 ;
|
INVALID_SET_FILE_POINTER = [ "SetFilePointer failed" throw ] when ;
|
||||||
|
|
||||||
M: windows (file-reader) ( path -- stream )
|
M: windows (file-reader) ( path -- stream )
|
||||||
|
|
Loading…
Reference in New Issue