utilitylibraries/libutils/tsrc/src/test_tptrc16towstring_boundary1.cpp
changeset 22 ddc455616bd6
parent 0 e4d67989cc36
child 45 4b03adbd26ca
child 57 2efc27d87e1c
--- a/utilitylibraries/libutils/tsrc/src/test_tptrc16towstring_boundary1.cpp	Fri Apr 16 16:46:38 2010 +0300
+++ b/utilitylibraries/libutils/tsrc/src/test_tptrc16towstring_boundary1.cpp	Mon May 03 14:06:43 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*)"test"); 
     __UHEAP_MARK;
     TBufC16<30> buf _L("My wide string");
     TPtrC16 src(buf);
     int retval=ESuccess;
-    int size=30;
+    //int size=30;
     retval= Tptrc16ToWstring(src,des);
 
     int tptrc_len = src.Length();
@@ -43,4 +43,6 @@
     }	
     __UHEAP_MARKEND;
     testResultXml("test_tptrc16towstring_boundary1");
+	
+	return 0;
 }