summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-07-22 22:15:21 +0200
committerAurelien Jarno <aurelien@aurel32.net>2010-07-25 16:59:38 +0200
commit2ee9fb4801128117e979178d9f603a70eb098f51 (patch)
tree1f08aee9e3ba4c2dc23038f2d381b753c243d836
parent5dc5d9f055c59701519d1212078a298d92411cf6 (diff)
downloadfocaccia-qemu-2ee9fb4801128117e979178d9f603a70eb098f51.tar.gz
focaccia-qemu-2ee9fb4801128117e979178d9f603a70eb098f51.zip
block: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types
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>
-rw-r--r--block/raw-posix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/raw-posix.c b/block/raw-posix.c
index 291699fbc3..a11170ed16 100644
--- a/block/raw-posix.c
+++ b/block/raw-posix.c
@@ -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;
         }