[PATCH] 32-bit fixes
[fio.git] / os-linux.h
index 0b1fc00a1ced92ba7c0a5d5f2cd16c76899bbd7e..9667ea0a0965ed5163cc6e6d569099c2f4cb9a0f 100644 (file)
@@ -42,7 +42,7 @@ enum {
 #define BLKGETSIZE64   _IOR(0x12,114,size_t)
 #endif
 
-static inline int blockdev_size(int fd, size_t *bytes)
+static inline int blockdev_size(int fd, unsigned long long *bytes)
 {
        if (!ioctl(fd, BLKGETSIZE64, bytes))
                return 0;