summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/tests/test_utils.c2
1 files changed, 1 insertions, 1 deletions
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)
173 ok( strcmp(test, "everything") == 0, "everything okay"); 173 ok( strcmp(test, "everything") == 0, "everything okay");
174 free(test); 174 free(test);
175 175
176 test = basename("/here/is/a/path"); 176 test = (char *)basename("/here/is/a/path");
177 ok( strcmp(test, "path") == 0, "basename okay"); 177 ok( strcmp(test, "path") == 0, "basename okay");
178 178
179 return exit_status(); 179 return exit_status();