Darn stupid bugs
authorJohn Hodge <[email protected]>
Sat, 24 Apr 2010 14:18:37 +0000 (22:18 +0800)
committerJohn Hodge <[email protected]>
Sat, 24 Apr 2010 14:18:37 +0000 (22:18 +0800)
Kernel/Makefile.BuildNum
Kernel/syscalls.c

index 38055e5..0deb19f 100644 (file)
@@ -1 +1 @@
-BUILD_NUM = 2056
+BUILD_NUM = 2057
index ab8c1c9..9e7d35f 100644 (file)
@@ -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;
                

UCC git Repository :: git.ucc.asn.au