Ignore:
Timestamp:
May 11, 2007 3:14:34 PM (14 years ago)
Author:
bennylp
Message:

HUGE changeset to make the rest of the libraries compile with C++ mode

File:
1 edited

Legend:

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

    r974 r1266  
    4242    struct pj_exception_state_t *handler; 
    4343 
    44     handler = pj_thread_local_get(thread_local_id); 
     44    handler = (struct pj_exception_state_t*)  
     45              pj_thread_local_get(thread_local_id); 
    4546    if (handler == NULL) { 
    4647        PJ_LOG(1,("except.c", "!!!FATAL: unhandled exception %s!\n",  
     
    7980        pj_atexit(&exception_cleanup); 
    8081    } 
    81     parent_handler = pj_thread_local_get(thread_local_id); 
     82    parent_handler = (struct pj_exception_state_t *) 
     83                      pj_thread_local_get(thread_local_id); 
    8284    rec->prev = parent_handler; 
    8385    pj_thread_local_set(thread_local_id, rec); 
     
    8890    struct pj_exception_state_t *handler; 
    8991 
    90     handler = pj_thread_local_get(thread_local_id); 
     92    handler = (struct pj_exception_state_t *) 
     93              pj_thread_local_get(thread_local_id); 
    9194    pj_assert(handler != NULL); 
    9295    pj_thread_local_set(thread_local_id, handler->prev); 
Note: See TracChangeset for help on using the changeset viewer.