Ignore:
Timestamp:
May 12, 2007 3:03:23 PM (17 years ago)
Author:
bennylp
Message:

Symbian fixes to compile on GCCE (nested callbacks etc)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/addr_resolv_symbian.cpp

    r1235 r1269  
    3636    wchar_t name16[PJ_MAX_HOSTNAME]; 
    3737    pj_ansi_to_unicode(name->ptr, name->slen, name16, PJ_ARRAY_SIZE(name16)); 
    38     TPtrC16 data(name16); 
     38    TPtrC16 data((const TUint16*)name16); 
    3939 
    4040    // Resolve! 
     
    6666 
    6767    // Convert the official address to ANSI. 
    68     pj_unicode_to_ansi(nameEntry().iName.Ptr(), nameEntry().iName.Length(), 
     68    pj_unicode_to_ansi((const wchar_t*)nameEntry().iName.Ptr(), nameEntry().iName.Length(), 
    6969                       resolved_name, sizeof(resolved_name)); 
    7070 
Note: See TracChangeset for help on using the changeset viewer.