summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormjflick <mjflick>2004-06-17 15:45:01 +0000
committermjflick <mjflick>2004-06-17 15:45:01 +0000
commitb5f595a1d20e694820135688371f62e94684e368 (patch)
tree8c838c88ffcf1d22330dace2b4b3568189b15f3b
parent9c0274ec1509f953e309684371f44e05bff9c90d (diff)
downloadfontutils-b5f595a1d20e694820135688371f62e94684e368.tar.gz
fixing warning
-rw-r--r--imageto/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imageto/main.c b/imageto/main.c
index 7bb1f37..07d9b37 100644
--- a/imageto/main.c
+++ b/imageto/main.c
@@ -123,7 +123,7 @@ main (int argc, string argv[])
/* If the user didn't give an output name, use the input name. */
if (output_name == NULL)
- output_name = remove_suffix (basename (input_name));
+ output_name = remove_suffix ( (string) basename (input_name));
/* If they didn't give an output name with a suffix, use ours. */
if (find_suffix (output_name) == NULL)