diff options
author | Stefan Weil <weil@mail.berlios.de> | 2010-07-22 22:15:21 +0200 |
---|---|---|
committer | Aurelien Jarno <aurelien@aurel32.net> | 2010-07-25 16:59:38 +0200 |
commit | 2ee9fb4801128117e979178d9f603a70eb098f51 (patch) | |
tree | 1f08aee9e3ba4c2dc23038f2d381b753c243d836 /block/raw-posix.c | |
parent | 5dc5d9f055c59701519d1212078a298d92411cf6 (diff) |
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>
Diffstat (limited to 'block/raw-posix.c')
-rw-r--r-- | block/raw-posix.c | 2 |
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; } |