From cfd0e18dc43c2e3251167da85b2c5ed691aac824 Mon Sep 17 00:00:00 2001 From: Warren Dukes Date: Sat, 28 Feb 2004 14:38:55 +0000 Subject: fix some errors with short and long git-svn-id: https://svn.musicpd.org/mpd/trunk@117 09075e82-0dd4-0310-85a5-a0d7c8717e4f --- src/mpd_types.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mpd_types.h') diff --git a/src/mpd_types.h b/src/mpd_types.h index c0e519dde..7e64daba1 100644 --- a/src/mpd_types.h +++ b/src/mpd_types.h @@ -26,16 +26,16 @@ typedef signed char mpd_sint8; typedef unsigned short mpd_uint16; typedef signed short mpd_sint16; #elif SIZEOF_INT == 2 -typedef unsigned short mpd_uint16; -typedef signed short mpd_sint16; +typedef unsigned int mpd_uint16; +typedef signed int mpd_sint16; #endif #if SIZEOF_INT == 4 typedef unsigned int mpd_uint32; typedef signed int mpd_sint32; #elif SIZEOF_LONG == 4 -typedef unsigned int mpd_uint32; -typedef signed int mpd_sint32; +typedef unsigned long mpd_uint32; +typedef signed long mpd_sint32; #endif #endif -- cgit v1.2.3