utilitylibraries/libutils/tsrc/src/test_rbuf16towstring_boundary2.cpp
branchRCL_3
changeset 56 acd3cd4aaceb
parent 0 e4d67989cc36
child 45 4b03adbd26ca
child 57 2efc27d87e1c
--- a/utilitylibraries/libutils/tsrc/src/test_rbuf16towstring_boundary2.cpp	Thu Aug 19 11:33:45 2010 +0300
+++ b/utilitylibraries/libutils/tsrc/src/test_rbuf16towstring_boundary2.cpp	Tue Aug 31 16:54:36 2010 +0300
@@ -21,7 +21,7 @@
 #include "libutils.h"
 #include"std_log_result.h"
 #define LOG_FILENAME_LINE __FILE__, __LINE__
-void main()
+int main()
 {
     wstring des;
     __UHEAP_MARK;
@@ -30,7 +30,7 @@
     buf.Create(10);
     buf.Copy((TUint16 *)"Hello", 5);
     buf.CleanupClosePushL();
-    int size =15;
+   // int size =15;
     retval = Rbuf16ToWstring(buf, des);
 
     int rbuf_len = buf.Length();
@@ -59,4 +59,5 @@
     CleanupStack::PopAndDestroy(1);
     __UHEAP_MARKEND;	
     testResultXml("test_rbuf16towstring_boundary2");
+	return 0;
 }