Changeset 391 for trunk/xc_malloc.c


Ignore:
Timestamp:
2007-05-23T03:00:26+02:00 (7 years ago)
Author:
moo
Message:

fixed #96, wrong format string for sprintf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xc_malloc.c

    r390 r391  
    121121    /* requires at least the header and 1 tail block */ 
    122122    if (size < MINSIZE) { 
    123         fprintf(stderr, "xc_mem_malloc_init requires %d bytes at least\n", MINSIZE); 
     123        fprintf(stderr, "xc_mem_malloc_init requires %lu bytes at least\n", (unsigned long) MINSIZE); 
    124124        return NULL; 
    125125    } 
Note: See TracChangeset for help on using the changeset viewer.