diff -r acd3cd4aaceb -r 2efc27d87e1c utilitylibraries/libutils/tsrc/src/test_charptotptr16_negative1.cpp --- a/utilitylibraries/libutils/tsrc/src/test_charptotptr16_negative1.cpp Tue Aug 31 16:54:36 2010 +0300 +++ b/utilitylibraries/libutils/tsrc/src/test_charptotptr16_negative1.cpp Wed Sep 01 12:36:54 2010 +0100 @@ -20,7 +20,7 @@ #include "libutils.h" #include"std_log_result.h" #define LOG_FILENAME_LINE __FILE__, __LINE__ -int main() +void main() { __UHEAP_MARK; int retval =ESuccess; @@ -28,7 +28,7 @@ TBufC16<10> buf; TPtr16 myTptr = buf.Des(); wchar_t* temp = new wchar_t[30]; - retval = CharpToTptr16(mycharstring, myTptr); + retval = CharpToTptr16(mycharstring,temp,myTptr); if (retval == EInsufficientMemory) { @@ -42,5 +42,4 @@ delete[] temp; __UHEAP_MARKEND; testResultXml("test_charptotptr16_negative1"); - return 0; }