From 7239c1f42beffb6b279de06c41d154c53564ab9d Mon Sep 17 00:00:00 2001 From: "cantab.net!aia21" Date: Fri, 27 Feb 2004 16:44:10 +0000 Subject: [PATCH] Adapt BLKGETSIZE64 definition to the one found in 2.6 kernels. (Logical change 1.287) --- libntfs/device.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libntfs/device.c b/libntfs/device.c index 229e8bbb..f66b5e42 100644 --- a/libntfs/device.c +++ b/libntfs/device.c @@ -43,7 +43,7 @@ #define BLKGETSIZE _IO(0x12,96) /* Get device size in 512-byte blocks. */ #endif #if defined(linux) && defined(_IOR) && !defined(BLKGETSIZE64) -#define BLKGETSIZE64 _IOR(0x12,114,sizeof(u64)) /* Get device size in bytes. */ +#define BLKGETSIZE64 _IOR(0x12,114,size_t) /* Get device size in bytes. */ #endif /**