summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2024-04-11 21:01:54 +0200
committerSlávek Banko <slavek.banko@axis.cz>2024-04-12 23:09:44 +0200
commit9f72914c1d93167b7c36b08bafa660a42e33e681 (patch)
tree376b2323013932f5abc6dca177d621b28d180412
parent3c503d856c90e42d88dd5a881fdec865ead90bba (diff)
downloadtdelibs-9f72914c1d93167b7c36b08bafa660a42e33e681.tar.gz
tdelibs-9f72914c1d93167b7c36b08bafa660a42e33e681.zip
tdeprint: Use 'const' for list of files to print.
This resolves issue #268. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
-rw-r--r--tdeprint/cups/cupsdoprint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeprint/cups/cupsdoprint.c b/tdeprint/cups/cupsdoprint.c
index 999b5f493..3741d7509 100644
--- a/tdeprint/cups/cupsdoprint.c
+++ b/tdeprint/cups/cupsdoprint.c
@@ -146,7 +146,7 @@ int main(int argc, char* argv[])
char *a;
cups_option_t *options = NULL;
int num_options = 0;
- char* files[100] = {0};
+ const char* files[100] = {0};
int num_files = 0;
int jobID = 0;