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