--- a/utilitylibraries/libutils/tsrc/src/test_tptr16towstring_positive2.cpp Thu Aug 19 11:33:45 2010 +0300
+++ b/utilitylibraries/libutils/tsrc/src/test_tptr16towstring_positive2.cpp Tue Aug 31 16:54:36 2010 +0300
@@ -20,13 +20,13 @@
#include "libutils.h"
#include"std_log_result.h"
#define LOG_FILENAME_LINE __FILE__, __LINE__
-void main()
+int main()
{
wstring des((const wchar_t*)"hello") ;
__UHEAP_MARK;
TPtr16 src((unsigned short *)"My wide string",14, 30);
int retval=ESuccess;
- int size=30;
+ //int size=30;
retval= Tptr16ToWstring(src,des);
if(retval ==ESuccess)
@@ -40,4 +40,6 @@
}
__UHEAP_MARKEND;
testResultXml("test_tptr16towstring_positive2");
+
+ return 0;
}