fix some errors with short and long

git-svn-id: https://svn.musicpd.org/mpd/trunk@117 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Warren Dukes 2004-02-28 14:38:55 +00:00
parent fe9f236b4f
commit cfd0e18dc4
1 changed files with 4 additions and 4 deletions

View File

@ -26,16 +26,16 @@ typedef signed char mpd_sint8;
typedef unsigned short mpd_uint16; typedef unsigned short mpd_uint16;
typedef signed short mpd_sint16; typedef signed short mpd_sint16;
#elif SIZEOF_INT == 2 #elif SIZEOF_INT == 2
typedef unsigned short mpd_uint16; typedef unsigned int mpd_uint16;
typedef signed short mpd_sint16; typedef signed int mpd_sint16;
#endif #endif
#if SIZEOF_INT == 4 #if SIZEOF_INT == 4
typedef unsigned int mpd_uint32; typedef unsigned int mpd_uint32;
typedef signed int mpd_sint32; typedef signed int mpd_sint32;
#elif SIZEOF_LONG == 4 #elif SIZEOF_LONG == 4
typedef unsigned int mpd_uint32; typedef unsigned long mpd_uint32;
typedef signed int mpd_sint32; typedef signed long mpd_sint32;
#endif #endif
#endif #endif