pidgin: d29c3c9e: Add LL suffix to 64-bit literal constant...

sadrul at pidgin.im sadrul at pidgin.im
Thu Mar 25 23:50:41 EDT 2010


-----------------------------------------------------------------
Revision: d29c3c9e7bc922dd0d3c66f324177d7d778222cc
Ancestor: 836d1a5ae8587599257d08962d2e285748137665
Author: sadrul at pidgin.im
Date: 2010-03-26T03:48:33
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/d29c3c9e7bc922dd0d3c66f324177d7d778222cc

Modified files:
        libpurple/protocols/oscar/oscar.h

ChangeLog: 

Add LL suffix to 64-bit literal constants.

This gets rid of some compile warnings.

-------------- next part --------------
============================================================
--- libpurple/protocols/oscar/oscar.h	1425f0be89f631ccacb93b9a25c396b5dd82806d
+++ libpurple/protocols/oscar/oscar.h	208580bf173f00407f666a1bd3c4b82ae80066b5
@@ -344,39 +344,39 @@ typedef enum
 	OSCAR_DISCONNECT_RETRYING /* peer connections only */
 } OscarDisconnectReason;
 
-#define OSCAR_CAPABILITY_BUDDYICON             0x0000000000000001
-#define OSCAR_CAPABILITY_TALK                  0x0000000000000002
-#define OSCAR_CAPABILITY_DIRECTIM              0x0000000000000004
-#define OSCAR_CAPABILITY_CHAT                  0x0000000000000008
-#define OSCAR_CAPABILITY_GETFILE               0x0000000000000010
-#define OSCAR_CAPABILITY_SENDFILE              0x0000000000000020
-#define OSCAR_CAPABILITY_GAMES                 0x0000000000000040
-#define OSCAR_CAPABILITY_ADDINS                0x0000000000000080
-#define OSCAR_CAPABILITY_SENDBUDDYLIST         0x0000000000000100
-#define OSCAR_CAPABILITY_GAMES2                0x0000000000000200
-#define OSCAR_CAPABILITY_ICQ_DIRECT            0x0000000000000400
-#define OSCAR_CAPABILITY_APINFO                0x0000000000000800
-#define OSCAR_CAPABILITY_ICQRTF                0x0000000000001000
-#define OSCAR_CAPABILITY_EMPTY                 0x0000000000002000
-#define OSCAR_CAPABILITY_ICQSERVERRELAY        0x0000000000004000
-#define OSCAR_CAPABILITY_UNICODEOLD            0x0000000000008000
-#define OSCAR_CAPABILITY_TRILLIANCRYPT         0x0000000000010000
-#define OSCAR_CAPABILITY_UNICODE               0x0000000000020000
-#define OSCAR_CAPABILITY_INTEROPERATE          0x0000000000040000
-#define OSCAR_CAPABILITY_SHORTCAPS             0x0000000000080000
-#define OSCAR_CAPABILITY_HIPTOP                0x0000000000100000
-#define OSCAR_CAPABILITY_SECUREIM              0x0000000000200000
-#define OSCAR_CAPABILITY_SMS                   0x0000000000400000
-#define OSCAR_CAPABILITY_VIDEO                 0x0000000000800000
-#define OSCAR_CAPABILITY_ICHATAV               0x0000000001000000
-#define OSCAR_CAPABILITY_LIVEVIDEO             0x0000000002000000
-#define OSCAR_CAPABILITY_CAMERA                0x0000000004000000
-#define OSCAR_CAPABILITY_ICHAT_SCREENSHARE     0x0000000008000000
-#define OSCAR_CAPABILITY_TYPING                0x0000000010000000
-#define OSCAR_CAPABILITY_NEWCAPS               0x0000000020000000
-#define OSCAR_CAPABILITY_XTRAZ                 0x0000000040000000
-#define OSCAR_CAPABILITY_GENERICUNKNOWN        0x0000000080000000
-#define OSCAR_CAPABILITY_LAST                  0x0000000100000000
+#define OSCAR_CAPABILITY_BUDDYICON             0x0000000000000001LL
+#define OSCAR_CAPABILITY_TALK                  0x0000000000000002LL
+#define OSCAR_CAPABILITY_DIRECTIM              0x0000000000000004LL
+#define OSCAR_CAPABILITY_CHAT                  0x0000000000000008LL
+#define OSCAR_CAPABILITY_GETFILE               0x0000000000000010LL
+#define OSCAR_CAPABILITY_SENDFILE              0x0000000000000020LL
+#define OSCAR_CAPABILITY_GAMES                 0x0000000000000040LL
+#define OSCAR_CAPABILITY_ADDINS                0x0000000000000080LL
+#define OSCAR_CAPABILITY_SENDBUDDYLIST         0x0000000000000100LL
+#define OSCAR_CAPABILITY_GAMES2                0x0000000000000200LL
+#define OSCAR_CAPABILITY_ICQ_DIRECT            0x0000000000000400LL
+#define OSCAR_CAPABILITY_APINFO                0x0000000000000800LL
+#define OSCAR_CAPABILITY_ICQRTF                0x0000000000001000LL
+#define OSCAR_CAPABILITY_EMPTY                 0x0000000000002000LL
+#define OSCAR_CAPABILITY_ICQSERVERRELAY        0x0000000000004000LL
+#define OSCAR_CAPABILITY_UNICODEOLD            0x0000000000008000LL
+#define OSCAR_CAPABILITY_TRILLIANCRYPT         0x0000000000010000LL
+#define OSCAR_CAPABILITY_UNICODE               0x0000000000020000LL
+#define OSCAR_CAPABILITY_INTEROPERATE          0x0000000000040000LL
+#define OSCAR_CAPABILITY_SHORTCAPS             0x0000000000080000LL
+#define OSCAR_CAPABILITY_HIPTOP                0x0000000000100000LL
+#define OSCAR_CAPABILITY_SECUREIM              0x0000000000200000LL
+#define OSCAR_CAPABILITY_SMS                   0x0000000000400000LL
+#define OSCAR_CAPABILITY_VIDEO                 0x0000000000800000LL
+#define OSCAR_CAPABILITY_ICHATAV               0x0000000001000000LL
+#define OSCAR_CAPABILITY_LIVEVIDEO             0x0000000002000000LL
+#define OSCAR_CAPABILITY_CAMERA                0x0000000004000000LL
+#define OSCAR_CAPABILITY_ICHAT_SCREENSHARE     0x0000000008000000LL
+#define OSCAR_CAPABILITY_TYPING                0x0000000010000000LL
+#define OSCAR_CAPABILITY_NEWCAPS               0x0000000020000000LL
+#define OSCAR_CAPABILITY_XTRAZ                 0x0000000040000000LL
+#define OSCAR_CAPABILITY_GENERICUNKNOWN        0x0000000080000000LL
+#define OSCAR_CAPABILITY_LAST                  0x0000000100000000LL
 
 /*
  * Byte Stream type. Sort of.


More information about the Commits mailing list