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/test_utils.c | |
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/test_utils.c')
-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) 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(); |