[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/4] block: Replace u_int8_t, u_int16_t, u_int32_t,
From: |
Stefan Weil |
Subject: |
[Qemu-devel] [PATCH 1/4] block: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types |
Date: |
Thu, 22 Jul 2010 22:15:21 +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 <address@hidden>
---
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 291699f..a11170e 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;
}
--
1.7.1
- [Qemu-devel] [PATCH 0/4] Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types, Stefan Weil, 2010/07/22
- [Qemu-devel] [PATCH 1/4] block: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types,
Stefan Weil <=
- [Qemu-devel] [PATCH 2/4] tests: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types, Stefan Weil, 2010/07/22
- [Qemu-devel] [PATCH 3/4] slirp: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types, Stefan Weil, 2010/07/22
- [Qemu-devel] [PATCH 4/4] slirp: Remove declarations which are no longer needed, Stefan Weil, 2010/07/22
- Re: [Qemu-devel] [PATCH 0/4] Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types, Aurelien Jarno, 2010/07/25