Code

Try to make IRIX happy (this fixes a similar warning in Solaris)
authorThomas Guyot-Sionnest <dermoth@aei.ca>
Thu, 8 Jan 2009 13:14:19 +0000 (08:14 -0500)
committerThomas Guyot-Sionnest <dermoth@aei.ca>
Thu, 8 Jan 2009 13:14:19 +0000 (08:14 -0500)
lib/tests/test_utils.c

index 5c6cce4115662e6fbc7fce4062419fbf2e13003a..e9462909fece7c2b763b7eec6eea04d7586019ab 100644 (file)
@@ -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();