[Mobies-commit] [commit] r3624 - UDM/trunk/tests/test_childrenorder

ksmyth at redhat1.isis.vanderbilt.edu ksmyth at redhat1.isis.vanderbilt.edu
Fri Jan 28 16:06:00 CST 2011


Author: ksmyth
Date: Fri Jan 28 16:06:00 2011
New Revision: 3624

Log:
Fix some warnings

Modified:
   UDM/trunk/tests/test_childrenorder/childrenorderTest.cpp

Modified: UDM/trunk/tests/test_childrenorder/childrenorderTest.cpp
==============================================================================
--- UDM/trunk/tests/test_childrenorder/childrenorderTest.cpp	Fri Jan 28 16:05:28 2011	(r3623)
+++ UDM/trunk/tests/test_childrenorder/childrenorderTest.cpp	Fri Jan 28 16:06:00 2011	(r3624)
@@ -28,12 +28,12 @@
 char * UdmTests::childrenorderTest::getRndFileName()
 {
 #ifdef WIN32
-		char * def_tmp_dir = "c:\\";
+		const char * def_tmp_dir = "c:\\";
 #else
-		char * def_tmp_dir = "/tmp/";
+		const char * def_tmp_dir = "/tmp/";
 #endif
 		
-		char * tmp_dir = NULL;
+		const char * tmp_dir = NULL;
 		tmp_dir = getenv(WIN_TEMP_ENV);
 		if (!tmp_dir)
 			tmp_dir = getenv(WIN_TMP_ENV);


More information about the Mobies-commit mailing list