summaryrefslogtreecommitdiffstats
path: root/tdeprint
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:12:24 +0200
commitfff7139a26fc70cbdbaad3b25cfaef321df72479 (patch)
tree2884fd08e1e21a472fd91d74aa07476dde659655 /tdeprint
parentab9f8038deeb50995f94b21035368ed66b8c128c (diff)
downloadtdelibs-fff7139a26fc70cbdbaad3b25cfaef321df72479.tar.gz
tdelibs-fff7139a26fc70cbdbaad3b25cfaef321df72479.zip
tdeprint: Use 'const' for list of files to print.
This resolves issue #268. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit 9f72914c1d93167b7c36b08bafa660a42e33e681)
Diffstat (limited to 'tdeprint')
-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;