utilitylibraries/libutils/tsrc/src/test_wstringtohbufc8_reliability.cpp
changeset 22 ddc455616bd6
parent 0 e4d67989cc36
child 45 4b03adbd26ca
child 57 2efc27d87e1c
--- a/utilitylibraries/libutils/tsrc/src/test_wstringtohbufc8_reliability.cpp	Fri Apr 16 16:46:38 2010 +0300
+++ b/utilitylibraries/libutils/tsrc/src/test_wstringtohbufc8_reliability.cpp	Mon May 03 14:06:43 2010 +0300
@@ -21,13 +21,13 @@
 #include"std_log_result.h"
 #define LOG_FILENAME_LINE __FILE__, __LINE__
 
-void main()
+int main()
 {
-	int count = 2;
+	//int count = 2;
 	bool err = false;
 	wstring myWstring(L"Hello");
 	__UHEAP_MARK;
-	__UHEAP_FAILNEXT(count);
+	__UHEAP_FAILNEXT(2);
 	while(!err)
 	{
 	int retval =ESuccess;
@@ -59,4 +59,5 @@
 	__UHEAP_MARKEND;
 	__UHEAP_RESET;
     testResultXml("test_wstringtohbufc8_reliability");
+	return 0;
 }