diff options
Diffstat (limited to 'imageto/main.c')
-rw-r--r-- | imageto/main.c | 2 |
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) |