Changeset 391 in svn for trunk/xc_malloc.c


Ignore:
Timestamp:
2007-05-23T01:00:26Z (8 years ago)
Author:
Xuefer
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.