From 254baca11109777e444a598b604e2cd99e814f75 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Thu, 8 Jan 2009 08:14:19 -0500 Subject: [PATCH] Try to make IRIX happy (this fixes a similar warning in Solaris) --- lib/tests/test_utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.30.2