From: Stefan Weil Date: Thu, 22 Jul 2010 20:15:21 +0000 (+0200) Subject: block: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types X-Git-Tag: xen-15-06-02~7229 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=2ee9fb4801128117e979178d9f603a70eb098f51;p=people%2Fsstabellini%2Fqemu-dm.git%2F.git 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 Signed-off-by: Aurelien Jarno --- 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; }