Show
Ignore:
Timestamp:
04/28/07 22:56:27 (2 years ago)
Author:
daboo
Message:

Fix pointer arithmetic errors.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • Mulberry/trunk/Sources_Common/Mail/Filters/CAFFilter.cp

    r19 r31  
    10661066        time_t reference = mktime(&appleRef); 
    10671067        *((long*) p) = htonl(file_status.st_ctime - reference); 
    1068         p += sizeof(long*); 
     1068        p += sizeof(long); 
    10691069        *((long*) p) = htonl(file_status.st_mtime - reference); 
    1070         p += sizeof(long*); 
     1070        p += sizeof(long); 
    10711071        *((long*) p) = htonl(cAppleFile_DateUnknown); 
    1072         p += sizeof(long*); 
     1072        p += sizeof(long); 
    10731073        *((long*) p) = htonl(cAppleFile_DateUnknown); 
    1074         p += sizeof(long*); 
     1074        p += sizeof(long); 
    10751075 
    10761076        // Add comment (none for Windows)