summaryrefslogtreecommitdiff
path: root/cups
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2019-02-19 11:12:25 -0500
committerGitHub <noreply@github.com>2019-02-19 11:12:25 -0500
commit5a9647c7ac07926be529115444bd821a1247df14 (patch)
treebf1c2abfc6c74feca5227248b00915c018128295 /cups
parent5ca3a7ff4637ef616f9a70d6a5eaa60da24ae9e1 (diff)
parentaa7edf3c17cafdb53e32401dcff94951e2e37ac1 (diff)
downloadcups-5a9647c7ac07926be529115444bd821a1247df14.tar.gz
Merge pull request #5519 from IslandCow/small
Make explicit cast from enum to integer
Diffstat (limited to 'cups')
-rw-r--r--cups/ppd-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cups/ppd-cache.c b/cups/ppd-cache.c
index 2ef4e154f..fa6e11d90 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;