From: Sean Kau Date: Mon, 18 Feb 2019 06:56:47 +0000 (+0000) Subject: Make explicit cast from enum to integer X-Git-Tag: v2.3b8~109^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa7edf3c17cafdb53e32401dcff94951e2e37ac1;p=thirdparty%2Fcups.git Make explicit cast from enum to integer --- 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;