--- a/utilitylibraries/libutils/tsrc/src/test_wchartorbuf16_negative1.cpp Thu Aug 19 11:33:45 2010 +0300
+++ b/utilitylibraries/libutils/tsrc/src/test_wchartorbuf16_negative1.cpp Tue Aug 31 16:54:36 2010 +0300
@@ -21,12 +21,13 @@
#include "libutils.h"
#include"std_log_result.h"
#define LOG_FILENAME_LINE __FILE__, __LINE__
-void main()
+int main()
{
__UHEAP_MARK;
int retval =ESuccess;
wchar_t* mywcharstring = L"Hello Widechar String";
RBuf16 myRBuf;
+ myRBuf.CreateL(30);
myRBuf.CleanupClosePushL();
retval = WcharToRbuf16(mywcharstring, myRBuf);
@@ -42,4 +43,6 @@
CleanupStack::PopAndDestroy(1);
__UHEAP_MARKEND;
testResultXml("test_wchartorbuf16_negative1");
+
+ return 0;
}