SF.net SVN: nagiosplug:[2119] nagiosplug/trunk/lib/tests/test_utils.c
| Newsgroups | gmane.network.nagios.plugins.cvs |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]>
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.
------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB