diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-03-10 12:57:12 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-03-10 12:57:12 +0000 |
commit | 0873e0d2170db76241bf5afe812acead0d531b8e (patch) | |
tree | bc50b6a1fe32c5b0ae24d1c188f166ea82c278f8 /pjlib-util/src | |
parent | 9034bec3635469ec1041e783ac2343c22b64c04c (diff) |
Fixed compilation and run warnings/errors with MSVC 2005
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@315 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjlib-util/src')
-rw-r--r-- | pjlib-util/src/pjlib-util/errno.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pjlib-util/src/pjlib-util/errno.c b/pjlib-util/src/pjlib-util/errno.c index 31227d96..b5e43e7a 100644 --- a/pjlib-util/src/pjlib-util/errno.c +++ b/pjlib-util/src/pjlib-util/errno.c @@ -98,9 +98,9 @@ PJ_DEF(pj_str_t) pjlib_util_strerror( pj_status_t statcode, /* Error not found. */ errstr.ptr = buf; - errstr.slen = pj_snprintf(buf, bufsize, - "Unknown error %d", - statcode); + errstr.slen = pj_ansi_snprintf(buf, bufsize, + "Unknown error %d", + statcode); return errstr; } |