diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2024-04-11 21:01:54 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2024-04-12 23:12:24 +0200 |
commit | fff7139a26fc70cbdbaad3b25cfaef321df72479 (patch) | |
tree | 2884fd08e1e21a472fd91d74aa07476dde659655 | |
parent | ab9f8038deeb50995f94b21035368ed66b8c128c (diff) | |
download | tdelibs-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)
-rw-r--r-- | tdeprint/cups/cupsdoprint.c | 2 |
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; |