mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 03:59:52 +00:00
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>
This commit is contained in:
parent
5dc5d9f055
commit
2ee9fb4801
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user