diff -r acd3cd4aaceb -r 2efc27d87e1c utilitylibraries/libutils/tsrc/src/test_charptotptrc16_negative2.cpp --- a/utilitylibraries/libutils/tsrc/src/test_charptotptrc16_negative2.cpp Tue Aug 31 16:54:36 2010 +0300 +++ b/utilitylibraries/libutils/tsrc/src/test_charptotptrc16_negative2.cpp Wed Sep 01 12:36:54 2010 +0100 @@ -20,14 +20,14 @@ #include "libutils.h" #include"std_log_result.h" #define LOG_FILENAME_LINE __FILE__, __LINE__ -int main() +void main() { __UHEAP_MARK; int retval =ESuccess; char* mycharstring = NULL; TPtrC myTptrc; wchar_t* myptr= new wchar_t[10]; - retval = CharpToTptrc16(mycharstring, myptr, myTptrc); + retval = CharpToTptrc16(mycharstring,myptr, myTptrc); if (retval == EInvalidPointer) { @@ -41,5 +41,4 @@ free(myptr); __UHEAP_MARKEND; testResultXml("test_charptotptrc16_negative2"); - return 0; }