From: Thomas Guyot-Sionnest Date: Thu, 8 Jan 2009 13:14:19 +0000 (-0500) Subject: Try to make IRIX happy (this fixes a similar warning in Solaris) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=254baca11109777e444a598b604e2cd99e814f75;p=nagiosplug.git Try to make IRIX happy (this fixes a similar warning in Solaris) --- diff --git a/lib/tests/test_utils.c b/lib/tests/test_utils.c index 5c6cce4..e946290 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();