summaryrefslogtreecommitdiffstats
path: root/backend_mitsu9550.c
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2020-03-24 18:22:39 -0400
committerSolomon Peachy <pizza@shaftnet.org>2020-03-24 18:23:00 -0400
commit5116b74d4228f04e16e42b390aa4f2f1779b6cb0 (patch)
tree3512fe48b4c9cf9f841718642d046ea46e3ed517 /backend_mitsu9550.c
parent7c1232887b7a5d6d5e2e2c765d7f6aa5e69700c4 (diff)
downloadselphy_print-5116b74d4228f04e16e42b390aa4f2f1779b6cb0.tar.gz
selphy_print-5116b74d4228f04e16e42b390aa4f2f1779b6cb0.tar.bz2
selphy_print-5116b74d4228f04e16e42b390aa4f2f1779b6cb0.zip
misc: Shut up a large pile of compile warnings with pedantic compilers
Diffstat (limited to 'backend_mitsu9550.c')
-rw-r--r--backend_mitsu9550.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend_mitsu9550.c b/backend_mitsu9550.c
index 32572c0..8d67397 100644
--- a/backend_mitsu9550.c
+++ b/backend_mitsu9550.c
@@ -260,7 +260,7 @@ static int mitsu98xx_fillmatte(struct mitsu9550_printjob *job)
}
static int mitsu9550_get_status(struct mitsu9550_ctx *ctx, uint8_t *resp, int status, int status2, int media);
-static char *mitsu9550_media_types(uint8_t type, uint8_t is_s);
+static const char *mitsu9550_media_types(uint8_t type, uint8_t is_s);
static void *mitsu9550_init(void)
{
@@ -660,7 +660,7 @@ static int mitsu9550_get_status(struct mitsu9550_ctx *ctx, uint8_t *resp, int st
return CUPS_BACKEND_OK;
}
-static char *mitsu9550_media_types(uint8_t type, uint8_t is_s)
+static const char *mitsu9550_media_types(uint8_t type, uint8_t is_s)
{
if (is_s) {
switch (type & 0xf) { /* values can be 0x0? or 0x4? */