From c6b8a7d4747221a7a147daf5c18e7b725156b838 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 24 Apr 2010 22:18:37 +0800 Subject: [PATCH] Darn stupid bugs --- Kernel/Makefile.BuildNum | 2 +- Kernel/syscalls.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.20.1