diff options
author | Memphiz <memphis@machzwo.de> | 2012-10-26 18:08:59 +0200 |
---|---|---|
committer | montellese <montellese@xbmc.org> | 2014-05-17 09:53:12 +0200 |
commit | 5b2c16078401c8de2fdd7530df8d8d485c288495 (patch) | |
tree | af38e6fc95c3977d97381437c205d59f7b2f74d5 /lib/libUPnP | |
parent | c6d2a53c63a065a974c3f8fd1df29c30c2e2b40a (diff) |
platinum: fix compilation by using the right suffix for 64bit constants
Diffstat (limited to 'lib/libUPnP')
-rw-r--r-- | lib/libUPnP/Platinum/Source/Devices/MediaServer/PltDidl.h | 72 |
1 files changed, 36 insertions, 36 deletions
diff --git a/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltDidl.h b/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltDidl.h index 9af9725789..59d1605cf9 100644 --- a/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltDidl.h +++ b/lib/libUPnP/Platinum/Source/Devices/MediaServer/PltDidl.h @@ -48,47 +48,47 @@ /*---------------------------------------------------------------------- | constants +---------------------------------------------------------------------*/ -#define PLT_FILTER_MASK_ALL 0xFFFFFFFFFFFFFFFF +#define PLT_FILTER_MASK_ALL NPT_UINT64_C(0xFFFFFFFFFFFFFFFF) -#define PLT_FILTER_MASK_CREATOR 0x0000000000000001 -#define PLT_FILTER_MASK_ARTIST 0x0000000000000002 -#define PLT_FILTER_MASK_ALBUM 0x0000000000000004 -#define PLT_FILTER_MASK_GENRE 0x0000000000000008 -#define PLT_FILTER_MASK_ALBUMARTURI 0x0000000000000010 -#define PLT_FILTER_MASK_DESCRIPTION 0x0000000000000020 -#define PLT_FILTER_MASK_SEARCHABLE 0x0000000000000040 -#define PLT_FILTER_MASK_CHILDCOUNT 0x0000000000000080 -#define PLT_FILTER_MASK_ORIGINALTRACK 0x0000000000000100 -#define PLT_FILTER_MASK_ACTOR 0x0000000000000200 -#define PLT_FILTER_MASK_AUTHOR 0x0000000000000400 -#define PLT_FILTER_MASK_DIRECTOR 0x0000000000000800 -#define PLT_FILTER_MASK_DATE 0x0000000000001000 -#define PLT_FILTER_MASK_PROGRAMTITLE 0x0000000000002000 -#define PLT_FILTER_MASK_SERIESTITLE 0x0000000000004000 -#define PLT_FILTER_MASK_EPISODE 0x0000000000008000 -#define PLT_FILTER_MASK_TITLE 0x0000000000010000 +#define PLT_FILTER_MASK_CREATOR NPT_UINT64_C(0x0000000000000001) +#define PLT_FILTER_MASK_ARTIST NPT_UINT64_C(0x0000000000000002) +#define PLT_FILTER_MASK_ALBUM NPT_UINT64_C(0x0000000000000004) +#define PLT_FILTER_MASK_GENRE NPT_UINT64_C(0x0000000000000008) +#define PLT_FILTER_MASK_ALBUMARTURI NPT_UINT64_C(0x0000000000000010) +#define PLT_FILTER_MASK_DESCRIPTION NPT_UINT64_C(0x0000000000000020) +#define PLT_FILTER_MASK_SEARCHABLE NPT_UINT64_C(0x0000000000000040) +#define PLT_FILTER_MASK_CHILDCOUNT NPT_UINT64_C(0x0000000000000080) +#define PLT_FILTER_MASK_ORIGINALTRACK NPT_UINT64_C(0x0000000000000100) +#define PLT_FILTER_MASK_ACTOR NPT_UINT64_C(0x0000000000000200) +#define PLT_FILTER_MASK_AUTHOR NPT_UINT64_C(0x0000000000000400) +#define PLT_FILTER_MASK_DIRECTOR NPT_UINT64_C(0x0000000000000800) +#define PLT_FILTER_MASK_DATE NPT_UINT64_C(0x0000000000001000) +#define PLT_FILTER_MASK_PROGRAMTITLE NPT_UINT64_C(0x0000000000002000) +#define PLT_FILTER_MASK_SERIESTITLE NPT_UINT64_C(0x0000000000004000) +#define PLT_FILTER_MASK_EPISODE NPT_UINT64_C(0x0000000000008000) +#define PLT_FILTER_MASK_TITLE NPT_UINT64_C(0x0000000000010000) -#define PLT_FILTER_MASK_RES 0x0000000000020000 -#define PLT_FILTER_MASK_RES_DURATION 0x0000000000040000 -#define PLT_FILTER_MASK_RES_SIZE 0x0000000000080000 -#define PLT_FILTER_MASK_RES_PROTECTION 0x0000000000100000 -#define PLT_FILTER_MASK_RES_RESOLUTION 0x0000000000200000 -#define PLT_FILTER_MASK_RES_BITRATE 0x0000000000400000 -#define PLT_FILTER_MASK_RES_BITSPERSAMPLE 0x0000000000800000 -#define PLT_FILTER_MASK_RES_NRAUDIOCHANNELS 0x0000000001000000 -#define PLT_FILTER_MASK_RES_SAMPLEFREQUENCY 0x0000000002000000 +#define PLT_FILTER_MASK_RES NPT_UINT64_C(0x0000000000020000) +#define PLT_FILTER_MASK_RES_DURATION NPT_UINT64_C(0x0000000000040000) +#define PLT_FILTER_MASK_RES_SIZE NPT_UINT64_C(0x0000000000080000) +#define PLT_FILTER_MASK_RES_PROTECTION NPT_UINT64_C(0x0000000000100000) +#define PLT_FILTER_MASK_RES_RESOLUTION NPT_UINT64_C(0x0000000000200000) +#define PLT_FILTER_MASK_RES_BITRATE NPT_UINT64_C(0x0000000000400000) +#define PLT_FILTER_MASK_RES_BITSPERSAMPLE NPT_UINT64_C(0x0000000000800000) +#define PLT_FILTER_MASK_RES_NRAUDIOCHANNELS NPT_UINT64_C(0x0000000001000000) +#define PLT_FILTER_MASK_RES_SAMPLEFREQUENCY NPT_UINT64_C(0x0000000002000000) -#define PLT_FILTER_MASK_LONGDESCRIPTION 0x0000000004000000 -#define PLT_FILTER_MASK_ICON 0x0000000008000000 -#define PLT_FILTER_MASK_RATING 0x0000000010000000 +#define PLT_FILTER_MASK_LONGDESCRIPTION NPT_UINT64_C(0x0000000004000000) +#define PLT_FILTER_MASK_ICON NPT_UINT64_C(0x0000000008000000) +#define PLT_FILTER_MASK_RATING NPT_UINT64_C(0x0000000010000000) -#define PLT_FILTER_MASK_TOC 0x0000000020000000 -#define PLT_FILTER_MASK_SEARCHCLASS 0x0000000040000000 -#define PLT_FILTER_MASK_REFID 0x0000000080000000 +#define PLT_FILTER_MASK_TOC NPT_UINT64_C(0x0000000020000000) +#define PLT_FILTER_MASK_SEARCHCLASS NPT_UINT64_C(0x0000000040000000) +#define PLT_FILTER_MASK_REFID NPT_UINT64_C(0x0000000080000000) -#define PLT_FILTER_MASK_LASTPOSITION 0x0000000100000000 -#define PLT_FILTER_MASK_LASTPLAYBACK 0x0000000200000000 -#define PLT_FILTER_MASK_PLAYCOUNT 0x0000000400000000 +#define PLT_FILTER_MASK_LASTPOSITION NPT_UINT64_C(0x0000000100000000) +#define PLT_FILTER_MASK_LASTPLAYBACK NPT_UINT64_C(0x0000000200000000) +#define PLT_FILTER_MASK_PLAYCOUNT NPT_UINT64_C(0x0000000400000000) #define PLT_FILTER_FIELD_TITLE "dc:title" #define PLT_FILTER_FIELD_CREATOR "dc:creator" |