From aa7edf3c17cafdb53e32401dcff94951e2e37ac1 Mon Sep 17 00:00:00 2001 From: Sean Kau Date: Mon, 18 Feb 2019 06:56:47 +0000 Subject: [PATCH] Make explicit cast from enum to integer --- cups/ppd-cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cups/ppd-cache.c b/cups/ppd-cache.c index 2ef4e154fa..fa6e11d90f 100644 --- a/cups/ppd-cache.c +++ b/cups/ppd-cache.c @@ -2190,7 +2190,7 @@ _ppdCacheGetFinishingValues( { DEBUG_printf(("_ppdCacheGetFinishingValues: Adding %d (%s)", f->value, ippEnumString("finishings", f->value))); - values[num_values ++] = f->value; + values[num_values ++] = (int)f->value; if (num_values >= max_values) break; -- 2.47.2