Ignore:
Timestamp:
May 11, 2007 3:14:34 PM (17 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/pjmedia/src/pjmedia/wav_player.c

    r974 r1266  
    8080    struct file_port *port; 
    8181 
    82     port = pj_pool_zalloc(pool, sizeof(struct file_port)); 
     82    port = PJ_POOL_ZALLOC_T(pool, struct file_port); 
    8383    if (!port) 
    8484        return NULL; 
     
    350350 
    351351    /* Create buffer. */ 
    352     fport->buf = pj_pool_alloc(pool, fport->bufsize); 
     352    fport->buf = (char*) pj_pool_alloc(pool, fport->bufsize); 
    353353    if (!fport->buf) { 
    354354        pj_file_close(fport->fd); 
Note: See TracChangeset for help on using the changeset viewer.