From 25669a29ae759e82f4bb5fee80a51f69aa368002 Mon Sep 17 00:00:00 2001 From: adilger Date: Thu, 25 Mar 2004 20:08:53 +0000 Subject: [PATCH] loff_t is a long long in the kernel, liblustre should use the same to avoid compiler warnings on 64-bit (this #define is for windows port only). --- lustre/include/liblustre.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lustre/include/liblustre.h b/lustre/include/liblustre.h index 460d86e..d859bfc 100644 --- a/lustre/include/liblustre.h +++ b/lustre/include/liblustre.h @@ -52,7 +52,7 @@ #define PAGE_SHIFT 12 #define PAGE_SIZE (1UL << PAGE_SHIFT) #define PAGE_MASK (~(PAGE_SIZE-1)) -#define loff_t __u64 +#define loff_t long long #define ERESTART 2001 typedef unsigned short umode_t; -- 1.8.3.1