utilitylibraries/libutils/tsrc/src/test_tptrc8towstring_content_check.cpp
branchRCL_3
changeset 56 acd3cd4aaceb
parent 0 e4d67989cc36
child 45 4b03adbd26ca
child 57 2efc27d87e1c
--- a/utilitylibraries/libutils/tsrc/src/test_tptrc8towstring_content_check.cpp	Thu Aug 19 11:33:45 2010 +0300
+++ b/utilitylibraries/libutils/tsrc/src/test_tptrc8towstring_content_check.cpp	Tue Aug 31 16:54:36 2010 +0300
@@ -20,14 +20,14 @@
 #include "libutils.h"
 #include"std_log_result.h"
 #define LOG_FILENAME_LINE __FILE__, __LINE__
-void main()
+int main()
 {
     wstring des ((const wchar_t*)"mytest");	
     __UHEAP_MARK;
     TBufC8<30> buf((unsigned char*)"My wide string");
     TPtrC8 src(buf);
     int retval=ESuccess;
-    int size=14;
+    //int size=14;
     retval= Tptrc8ToWstring(src,des);
 
     if(retval ==ESuccess && wcscmp(L"My wide string",des.c_str()) == 0 )
@@ -41,4 +41,6 @@
     }	
     __UHEAP_MARKEND;
     testResultXml("test_tptrc8towstring_content_check");
+	
+	return 0;
 }