summaryrefslogtreecommitdiff
path: root/emu/Nt/devfs.c
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2007-03-12 12:06:37 +0000
committerCharles.Forsyth <devnull@localhost>2007-03-12 12:06:37 +0000
commit8675b89abf2848e59d63e796022e331287f77f85 (patch)
tree49eb493eb5ca715bd9976a99cf6f0868cbc40d8c /emu/Nt/devfs.c
parent3555c65fdd2b7ff06f1847e174486888d459748c (diff)
"20070312b enable windows 64-bit seek"
Diffstat (limited to 'emu/Nt/devfs.c')
-rw-r--r--emu/Nt/devfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/emu/Nt/devfs.c b/emu/Nt/devfs.c
index c15b4549..43517829 100644
--- a/emu/Nt/devfs.c
+++ b/emu/Nt/devfs.c
@@ -729,7 +729,7 @@ fslseek(HANDLE h, vlong offset)
{
LONG hi;
- if(1 || offset <= 0x7ffffff){ /* TO DO: remove 1 || */
+ if(offset <= 0x7fffffff){
if(SetFilePointer(h, (LONG)offset, NULL, FILE_BEGIN) == INVALID_SET_FILE_POINTER)
oserror();
}else{