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/pjmedia/src/pjmedia/wav_writer.c

    r974 r1266  
    8484 
    8585    /* Create file port instance. */ 
    86     fport = pj_pool_zalloc(pool, sizeof(struct file_port)); 
     86    fport = PJ_POOL_ZALLOC_T(pool, struct file_port); 
    8787    PJ_ASSERT_RETURN(fport != NULL, PJ_ENOMEM); 
    8888 
     
    150150 
    151151    /* Allocate buffer and set initial write position */ 
    152     fport->buf = pj_pool_alloc(pool, fport->bufsize); 
     152    fport->buf = (char*) pj_pool_alloc(pool, fport->bufsize); 
    153153    if (fport->buf == NULL) { 
    154154        pj_file_close(fport->fd); 
Note: See TracChangeset for help on using the changeset viewer.