block: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types
authorStefan Weil <weil@mail.berlios.de>
Thu, 22 Jul 2010 20:15:21 +0000 (22:15 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Sun, 25 Jul 2010 14:59:38 +0000 (16:59 +0200)
There is no need to have a second set of integral types.
Replace them by the standard types from stdint.h.

Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
block/raw-posix.c

index 291699fbc3f76da96fd57b30332942acc55ea502..a11170ed1685e28e61fe4ab45be165a86477a550 100644 (file)
@@ -216,7 +216,7 @@ static int raw_open(BlockDriverState *bs, const char *filename, int flags)
         }
 #endif
 #ifdef CONFIG_COCOA
-        u_int32_t   blockSize = 512;
+        uint32_t blockSize = 512;
         if ( !ioctl( fd, DKIOCGETBLOCKSIZE, &blockSize ) && blockSize > bufsize) {
             bufsize = blockSize;
         }