Ignore:
Timestamp:
Jul 29, 2006 8:29:24 PM (18 years ago)
Author:
bennylp
Message:

Another take at fixing 64bit problems. PJ_MAX_OBJ_NAME is increased to 32 chars (from 16), and check all those sprintf's especially the ones with "%p" format.

File:
1 edited

Legend:

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

    r577 r635  
    127127 
    128128    if (exception_id_names[id] == NULL) { 
    129         pj_ansi_sprintf(unknown_name, "exception %d", id); 
     129        pj_ansi_snprintf(unknown_name, sizeof(unknown_name),  
     130                         "exception %d", id); 
    130131        return unknown_name; 
    131132    } 
Note: See TracChangeset for help on using the changeset viewer.