From 67436e5349c347a5ef555e019d1efcbc6b209f10 Mon Sep 17 00:00:00 2001
From: Peter S. Mazinger <ps.m@gmx.net>
Date: Sat, 16 Apr 2011 00:41:41 +0200
Subject: [PATCH 263/396] llseek.c: use off64_t instead of loff_t as in header

Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
---
 libc/sysdeps/linux/common/llseek.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/libc/sysdeps/linux/common/llseek.c b/libc/sysdeps/linux/common/llseek.c
index 2181464..d04a5ec 100644
--- a/libc/sysdeps/linux/common/llseek.c
+++ b/libc/sysdeps/linux/common/llseek.c
@@ -12,16 +12,16 @@
 #include <sys/syscall.h>
 
 #ifdef __NR__llseek
-loff_t lseek64(int fd, loff_t offset, int whence)
+off64_t lseek64(int fd, off64_t offset, int whence)
 {
-	loff_t result;
-	return (loff_t)INLINE_SYSCALL(_llseek, 5, fd, (off_t) (offset >> 32),
+	off64_t result;
+	return (off64_t)INLINE_SYSCALL(_llseek, 5, fd, (off_t) (offset >> 32),
 				(off_t) (offset & 0xffffffff), &result, whence) ?: result;
 }
 #else
-loff_t lseek64(int fd, loff_t offset, int whence)
+off64_t lseek64(int fd, off64_t offset, int whence)
 {
-	return (loff_t)lseek(fd, (off_t) (offset), whence);
+	return (off64_t)lseek(fd, (off_t) (offset), whence);
 }
 #endif
 #ifndef __LINUXTHREADS_OLD__
-- 
1.7.0.4

