Ignore:
Timestamp:
Apr 23, 2008, 11:24:34 PM (12 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/src/cacaserver.c

    r2300 r2313  
    113113    cucul_canvas_t *canvas;
    114114    void *buffer;
    115     unsigned long int buflen;
     115    size_t buflen;
    116116
    117117    int client_count;
     
    223223        for(;;)
    224224        {
    225             long int needed;
    226             ssize_t wanted;
     225            ssize_t needed, wanted;
    227226
    228227            needed = cucul_import_memory(server->canvas, server->input,
     
    244243            server->read += wanted;
    245244        }
    246            
     245
    247246        /* Free the previous export buffer, if any */
    248247        if(server->buffer)
Note: See TracChangeset for help on using the changeset viewer.