projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5dc5d9f
)
block: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types
author
Stefan Weil
<weil@mail.berlios.de>
Thu, 22 Jul 2010 20:15:21 +0000
(22:15 +0200)
committer
Aurelien 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
patch
|
blob
|
history
diff --git
a/block/raw-posix.c
b/block/raw-posix.c
index 291699fbc3f76da96fd57b30332942acc55ea502..a11170ed1685e28e61fe4ab45be165a86477a550 100644
(file)
--- 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;
+ u
int32_t
blockSize = 512;
if ( !ioctl( fd, DKIOCGETBLOCKSIZE, &blockSize ) && blockSize > bufsize) {
bufsize = blockSize;
}