--- a/utilitylibraries/libutils/tsrc/src/test_charptotptr16_positive2.cpp Thu Aug 19 11:33:45 2010 +0300
+++ b/utilitylibraries/libutils/tsrc/src/test_charptotptr16_positive2.cpp Tue Aug 31 16:54:36 2010 +0300
@@ -20,7 +20,7 @@
#include "libutils.h"
#include"std_log_result.h"
#define LOG_FILENAME_LINE __FILE__, __LINE__
-void main()
+int main()
{
__UHEAP_MARK;
int retval =ESuccess;
@@ -28,7 +28,7 @@
TBufC16<1> buf;
TPtr16 myTptr= buf.Des();
wchar_t* temp = new wchar_t[30];
- retval = CharpToTptr16(mycharstring,temp,myTptr);
+ retval = CharpToTptr16(mycharstring, myTptr);
if (retval ==ESuccess)
{
@@ -42,4 +42,5 @@
delete[] temp;
__UHEAP_MARKEND;
testResultXml("test_charptotptr16_positive2");
+ return 0;
}