aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWarren Dukes <warren.dukes@gmail.com>2004-02-28 14:38:55 +0000
committerWarren Dukes <warren.dukes@gmail.com>2004-02-28 14:38:55 +0000
commitcfd0e18dc43c2e3251167da85b2c5ed691aac824 (patch)
treeabccda28b99aaec2a8e512c3c564e4fccbfa8bfb
parentfe9f236b4fdead324c12251ab120b8b1273a72ee (diff)
downloadmpd-cfd0e18dc43c2e3251167da85b2c5ed691aac824.tar.gz
mpd-cfd0e18dc43c2e3251167da85b2c5ed691aac824.tar.xz
mpd-cfd0e18dc43c2e3251167da85b2c5ed691aac824.zip
fix some errors with short and long
git-svn-id: https://svn.musicpd.org/mpd/trunk@117 09075e82-0dd4-0310-85a5-a0d7c8717e4f
-rw-r--r--src/mpd_types.h8
1 files changed, 4 insertions, 4 deletions
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