Changeset 2384

Show
Ignore:
Timestamp:
08/01/07 17:02:11 (1 year ago)
Author:
cstender
Message:

osync_data_get_data requires an unsigned int which is not compatible
with size_t on 64bit machines

TODO: Change api to use size_t instead of an unsigned int

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/kdepim/src/kaddrbook.cpp

    r2293 r2384  
    166166 
    167167        char *data; 
    168         size_t data_size;  
     168        //size_t data_size; 
     169        // osync_data_get_data requires an unsigned int which is not compatible with size_t on 64bit machines 
     170        unsigned int data_size = 0; 
    169171 
    170172        osync_data_get_data(odata, &data, &data_size); 
  • plugins/kdepim/src/kcal.cpp

    r2293 r2384  
    121121 
    122122                        char *databuf; 
    123                         size_t databuf_size;  
     123                        //size_t databuf_size;  
     124                        // osync_data_get_data requires an unsigned int which is not compatible with size_t on 64bit machines 
     125                        unsigned int databuf_size = 0;  
    124126                        osync_data_get_data(odata, &databuf, &databuf_size); 
    125127