From: John Hodge Date: Sat, 24 Apr 2010 14:18:37 +0000 (+0800) Subject: Darn stupid bugs X-Git-Tag: rel0.06~213 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=c6b8a7d4747221a7a147daf5c18e7b725156b838;p=tpg%2Facess2.git Darn stupid bugs --- diff --git a/Kernel/Makefile.BuildNum b/Kernel/Makefile.BuildNum index 38055e55..0deb19f8 100644 --- a/Kernel/Makefile.BuildNum +++ b/Kernel/Makefile.BuildNum @@ -1 +1 @@ -BUILD_NUM = 2056 +BUILD_NUM = 2057 diff --git a/Kernel/syscalls.c b/Kernel/syscalls.c index ab8c1c93..9e7d35f8 100644 --- a/Kernel/syscalls.c +++ b/Kernel/syscalls.c @@ -201,7 +201,7 @@ void SyscallHandler(tSyscallRegs *Regs) #if BITS == 64 ret = VFS_Seek( Regs->Arg1, Regs->Arg2, Regs->Arg3 ); #else - ret = VFS_Seek( Regs->Arg1, Regs->Arg2|((Uint64)Regs->Arg3<<64), Regs->Arg4 ); + ret = VFS_Seek( Regs->Arg1, Regs->Arg2|(((Uint64)Regs->Arg3)<<32), Regs->Arg4 ); #endif break;