diff -r 47c74d1534e1 -r ddc455616bd6 utilitylibraries/libutils/tsrc/src/test_tptr8towstring_content_check.cpp --- a/utilitylibraries/libutils/tsrc/src/test_tptr8towstring_content_check.cpp Fri Apr 16 16:46:38 2010 +0300 +++ b/utilitylibraries/libutils/tsrc/src/test_tptr8towstring_content_check.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); if(retval ==ESuccess && wcscmp(L"My wide string",des.c_str()) == 0 ) @@ -40,4 +40,6 @@ } __UHEAP_MARKEND; testResultXml("test_tptr8towstring_content_check"); + + return 0; }