--- file.c
+++ file.c
@@ -562,7 +562,7 @@
 int
 sys_lseek(struct tcb *tcp)
 {
-	off_t offset;
+	long offset;
 	int _whence;
 
 	if (entering(tcp)) {
