Ignore:
Timestamp:
Mar 10, 2006 12:57:12 PM (18 years ago)
Author:
bennylp
Message:

Fixed compilation and run warnings/errors with MSVC 2005

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/errno.c

    r289 r315  
    2020#include <pj/string.h> 
    2121#include <pj/assert.h> 
    22 #include <pj/compat/sprintf.h> 
    2322 
    2423/* Prototype for platform specific error message, which will be defined  
     
    142141 
    143142    if (statcode < PJ_ERRNO_START + PJ_ERRNO_SPACE_SIZE) { 
    144         len = pj_snprintf( buf, bufsize, "Unknown error %d", statcode); 
     143        len = pj_ansi_snprintf( buf, bufsize, "Unknown error %d", statcode); 
    145144 
    146145    } else if (statcode < PJ_ERRNO_START_STATUS + PJ_ERRNO_SPACE_SIZE) { 
Note: See TracChangeset for help on using the changeset viewer.