From adb764b51c1a4cd276ed46ea4fdcd98ae7884220 Mon Sep 17 00:00:00 2001 From: sam Date: Thu, 22 Apr 2010 13:55:41 +0000 Subject: [PATCH] On Win32, define 32-bit C99 types as ints instead of longs, because a lot of software (wrongly) assumes that int32_t is the same as int. git-svn-id: file:///srv/caca.zoy.org/var/lib/svn/libpipi/trunk@4397 92316355-f0b4-4df1-b90c-862c8a59935f --- pipi/pipi_types.h.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pipi/pipi_types.h.in b/pipi/pipi_types.h.in index bc3454d..a505e73 100644 --- a/pipi/pipi_types.h.in +++ b/pipi/pipi_types.h.in @@ -39,12 +39,12 @@ typedef signed char int8_t; typedef signed short int16_t; -typedef signed long int int32_t; +typedef signed int int32_t; typedef signed long long int int64_t; typedef unsigned char uint8_t; typedef unsigned short uint16_t; -typedef unsigned long int uint32_t; +typedef unsigned int uint32_t; typedef unsigned long long int uint64_t; typedef int ssize_t;