Enlightenment CVS committal

Author  : tsauerbeck
Project : e17
Module  : libs/eet

Dir     : e17/libs/eet/src/lib


Modified Files:
        eet_data.c 


Log Message:
fixed some warnings
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/eet/src/lib/eet_data.c,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -3 -r1.16 -r1.17
--- eet_data.c  29 Apr 2004 01:32:35 -0000      1.16
+++ eet_data.c  13 Jul 2004 18:23:16 -0000      1.17
@@ -170,14 +170,14 @@
 /*---*/
 
 #define SWAP64(x) (x) = \
-   ((((unsigned long long)(x) & 0x00000000000000ff ) << 56) |\
-       (((unsigned long long)(x) & 0x000000000000ff00 ) << 40) |\
-       (((unsigned long long)(x) & 0x0000000000ff0000 ) << 24) |\
-       (((unsigned long long)(x) & 0x00000000ff000000 ) << 8) |\
-       (((unsigned long long)(x) & 0x000000ff00000000 ) >> 8) |\
-       (((unsigned long long)(x) & 0x0000ff0000000000 ) >> 24) |\
-       (((unsigned long long)(x) & 0x00ff000000000000 ) >> 40) |\
-       (((unsigned long long)(x) & 0xff00000000000000 ) >> 56))
+   ((((unsigned long long)(x) & 0x00000000000000ffULL ) << 56) |\
+       (((unsigned long long)(x) & 0x000000000000ff00ULL ) << 40) |\
+       (((unsigned long long)(x) & 0x0000000000ff0000ULL ) << 24) |\
+       (((unsigned long long)(x) & 0x00000000ff000000ULL ) << 8) |\
+       (((unsigned long long)(x) & 0x000000ff00000000ULL ) >> 8) |\
+       (((unsigned long long)(x) & 0x0000ff0000000000ULL ) >> 24) |\
+       (((unsigned long long)(x) & 0x00ff000000000000ULL ) >> 40) |\
+       (((unsigned long long)(x) & 0xff00000000000000ULL ) >> 56))
 #define SWAP32(x) (x) = \
    ((((int)(x) & 0x000000ff ) << 24) |\
        (((int)(x) & 0x0000ff00 ) << 8) |\
@@ -1368,7 +1368,6 @@
    if (header[0] == 0xac1dfeed)
      {
        int iw, ih, al, cp;
-       unsigned int *body;
        
        iw = header[1];
        ih = header[2];




-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to