]> git.ipfire.org Git - thirdparty/cups.git/commit
scheduler: Fix build failure on Linux with '-Werror -Wall' 835/head
authorZdenek Dohnal <zdohnal@redhat.com>
Mon, 27 Nov 2023 09:05:55 +0000 (10:05 +0100)
committerZdenek Dohnal <zdohnal@redhat.com>
Mon, 27 Nov 2023 09:05:55 +0000 (10:05 +0100)
commitc7b7ad8a485d656ab2bde9ee9becebac08d92e5e
tree24771fc1e0b18458bbaa25a120bd6688b360dcc2
parenta7a80bd3c634ec25c07f6dcf626107d5d3ee8b6a
scheduler: Fix build failure on Linux with '-Werror -Wall'

The string which we add into array stays `const` after fixing #814
(because `strdup()`, which caused memory leak returned `char *`)
and compiler fails because of it if it runs with '-Werror -Wall'.
scheduler/colorman.c