diff options
author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2009-01-08 08:14:19 -0500 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2009-01-08 08:14:19 -0500 |
commit | 254baca11109777e444a598b604e2cd99e814f75 (patch) | |
tree | 90147498a6da79bc4d5b8d7a8a00415f2ccb1045 /lib/tests | |
parent | a97e5fbda21a05574b0e3c5a5118402ebfbbd13c (diff) | |
download | monitoring-plugins-254baca11109777e444a598b604e2cd99e814f75.tar.gz |
Try to make IRIX happy (this fixes a similar warning in Solaris)
Diffstat (limited to 'lib/tests')
-rw-r--r-- | lib/tests/test_utils.c | 2 |
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) | |||
173 | ok( strcmp(test, "everything") == 0, "everything okay"); | 173 | ok( strcmp(test, "everything") == 0, "everything okay"); |
174 | free(test); | 174 | free(test); |
175 | 175 | ||
176 | test = basename("/here/is/a/path"); | 176 | test = (char *)basename("/here/is/a/path"); |
177 | ok( strcmp(test, "path") == 0, "basename okay"); | 177 | ok( strcmp(test, "path") == 0, "basename okay"); |
178 | 178 | ||
179 | return exit_status(); | 179 | return exit_status(); |