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:
Stefan Weil 2010-07-22 22:15:21 +02:00 committed by Aurelien Jarno
parent 5dc5d9f055
commit 2ee9fb4801

View File

@ -216,7 +216,7 @@ static int raw_open(BlockDriverState *bs, const char *filename, int flags)
} }
#endif #endif
#ifdef CONFIG_COCOA #ifdef CONFIG_COCOA
u_int32_t blockSize = 512; uint32_t blockSize = 512;
if ( !ioctl( fd, DKIOCGETBLOCKSIZE, &blockSize ) && blockSize > bufsize) { if ( !ioctl( fd, DKIOCGETBLOCKSIZE, &blockSize ) && blockSize > bufsize) {
bufsize = blockSize; bufsize = blockSize;
} }