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:09:44 +0200 |
commit | 9f72914c1d93167b7c36b08bafa660a42e33e681 (patch) | |
tree | 376b2323013932f5abc6dca177d621b28d180412 | |
parent | 3c503d856c90e42d88dd5a881fdec865ead90bba (diff) | |
download | tdelibs-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.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; |