From fff7139a26fc70cbdbaad3b25cfaef321df72479 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Thu, 11 Apr 2024 21:01:54 +0200 Subject: tdeprint: Use 'const' for list of files to print. This resolves issue #268. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko (cherry picked from commit 9f72914c1d93167b7c36b08bafa660a42e33e681) --- tdeprint/cups/cupsdoprint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tdeprint') 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; -- cgit v1.2.1