Ignore:
Timestamp:
Apr 23, 2008, 11:24:34 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Switch a few unsigned int variables to size_t where appropriate.
  • Synchronise parameter types in the C++ bindings with the C API.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cxx/cucul++.cpp

    r2304 r2313  
    280280}
    281281
    282 long int Cucul::importMemory(void const *buf, unsigned long int len, char const *fmt)
     282long int Cucul::importMemory(void const *buf, size_t len, char const *fmt)
    283283{
    284284    return cucul_import_memory(cv, buf, len, fmt);
     
    295295}
    296296
    297 void *Cucul::exportMemory(char const *fmt, unsigned long int *len)
     297void *Cucul::exportMemory(char const *fmt, size_t *len)
    298298{
    299299    return cucul_export_memory(cv, fmt, len);
     
    309309}
    310310
    311 void Dither::setPalette(unsigned int r[], unsigned int g[], unsigned int b[], unsigned int a[])
     311void Dither::setPalette(uint32_t r[], uint32_t g[], uint32_t b[], uint32_t a[])
    312312{
    313313    cucul_set_dither_palette(dither, r, g, b, a);
Note: See TracChangeset for help on using the changeset viewer.