diff options
-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(); |