[Nagiosplug-checkins] SF.net SVN: nagiosplug:[2119] nagiosplug/trunk/lib/tests/test_utils.c

dermoth at users.sourceforge.net dermoth at users.sourceforge.net
Thu Jan 8 14:18:23 CET 2009


Revision: 2119
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=2119&view=rev
Author:   dermoth
Date:     2009-01-08 13:18:23 +0000 (Thu, 08 Jan 2009)

Log Message:
-----------
Try to make IRIX happy (this fixes a similar warning in Solaris)

From: Thomas Guyot-Sionnest <dermoth at aei.ca>

Modified Paths:
--------------
    nagiosplug/trunk/lib/tests/test_utils.c

Modified: nagiosplug/trunk/lib/tests/test_utils.c
===================================================================
--- nagiosplug/trunk/lib/tests/test_utils.c	2009-01-07 09:44:21 UTC (rev 2118)
+++ nagiosplug/trunk/lib/tests/test_utils.c	2009-01-08 13:18:23 UTC (rev 2119)
@@ -173,7 +173,7 @@
 	ok( strcmp(test, "everything") == 0, "everything okay");
 	free(test);
 
-	test = basename("/here/is/a/path");
+	test = (char *)basename("/here/is/a/path");
 	ok( strcmp(test, "path") == 0, "basename okay");
 
 	return exit_status();


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Commits mailing list