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:
parent
fe9f236b4f
commit
cfd0e18dc4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue