Changeset 4761 for pjproject/trunk/pjlib/src/pj/errno.c
- Timestamp:
- Feb 24, 2014 9:02:44 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/src/pj/errno.c
r4613 r4761 110 110 len = pj_ansi_snprintf( buf, size, "Unknown pjlib error %d", code); 111 111 if (len < 1 || len >= (int)size) 112 len = size - 1;112 len = (int)(size - 1); 113 113 return len; 114 114 } … … 206 206 207 207 if (len < 1 || len >= (int)bufsize) { 208 len = bufsize - 1;208 len = (int)(bufsize - 1); 209 209 buf[len] = '\0'; 210 210 }
Note: See TracChangeset
for help on using the changeset viewer.