aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Thomas Guyot-Sionnest <dermoth@aei.ca> 2009-01-08 08:14:19 -0500
committerGravatar Thomas Guyot-Sionnest <dermoth@aei.ca> 2009-01-08 08:14:19 -0500
commit254baca11109777e444a598b604e2cd99e814f75 (patch)
tree90147498a6da79bc4d5b8d7a8a00415f2ccb1045 /lib
parenta97e5fbda21a05574b0e3c5a5118402ebfbbd13c (diff)
downloadmonitoring-plugins-254baca11109777e444a598b604e2cd99e814f75.tar.gz
Try to make IRIX happy (this fixes a similar warning in Solaris)
Diffstat (limited to 'lib')
-rw-r--r--lib/tests/test_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tests/test_utils.c b/lib/tests/test_utils.c
index 5c6cce41..e9462909 100644
--- a/lib/tests/test_utils.c
+++ b/lib/tests/test_utils.c
@@ -173,7 +173,7 @@ main (int argc, char **argv)
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();