From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=51287 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Oc2BI-0001PL-57 for qemu-devel@nongnu.org; Thu, 22 Jul 2010 16:15:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Oc2BG-0001Lw-Nv for qemu-devel@nongnu.org; Thu, 22 Jul 2010 16:15:48 -0400 Received: from moutng.kundenserver.de ([212.227.17.9]:62939) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oc2BG-0001L8-Gb for qemu-devel@nongnu.org; Thu, 22 Jul 2010 16:15:46 -0400 From: Stefan Weil Date: Thu, 22 Jul 2010 22:15:21 +0200 Message-Id: <1279829724-18604-2-git-send-email-weil@mail.berlios.de> In-Reply-To: <1279829724-18604-1-git-send-email-weil@mail.berlios.de> References: <1279829724-18604-1-git-send-email-weil@mail.berlios.de> Subject: [Qemu-devel] [PATCH 1/4] block: Replace u_int8_t, u_int16_t, u_int32_t, u_int64_t by standard int types List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers 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 --- 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