summaryrefslogtreecommitdiff
path: root/scheduler
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2019-02-25 11:57:23 -0500
committerMichael R Sweet <michael.r.sweet@gmail.com>2019-02-25 11:57:23 -0500
commit7d950e92517af7f43fe9e1665d2c863354e5b2e1 (patch)
tree7e45b9138056b7601a4a4b8710d31123123a024b /scheduler
parentd3454c3ef63898edb0ecb4c2b0e843a18ba607a4 (diff)
downloadcups-7d950e92517af7f43fe9e1665d2c863354e5b2e1.tar.gz
Fix compiler warning from newer GCC (Issue #5533)
Diffstat (limited to 'scheduler')
-rw-r--r--scheduler/cups-driverd.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/scheduler/cups-driverd.cxx b/scheduler/cups-driverd.cxx
index 3fd462bb8..07e78a49d 100644
--- a/scheduler/cups-driverd.cxx
+++ b/scheduler/cups-driverd.cxx
@@ -5,10 +5,11 @@
* created from driver information files, and dynamically generated PPD files
* using driver helper programs.
*
- * Copyright 2007-2018 by Apple Inc.
- * Copyright 1997-2007 by Easy Software Products.
+ * Copyright © 2007-2019 by Apple Inc.
+ * Copyright © 1997-2007 by Easy Software Products.
*
- * Licensed under Apache License v2.0. See the file "LICENSE" for more information.
+ * Licensed under Apache License v2.0. See the file "LICENSE" for more
+ * information.
*/
/*
@@ -365,8 +366,7 @@ cat_drv(const char *name, /* I - PPD name */
ppdcCatalog *catalog; // Message catalog in .drv file
- fprintf(stderr, "DEBUG2: [cups-driverd] %d locales defined in \"%s\"...\n",
- src->po_files->count, filename);
+ fprintf(stderr, "DEBUG2: [cups-driverd] %u locales defined in \"%s\"...\n", (unsigned)src->po_files->count, filename);
locales = new ppdcArray();
for (catalog = (ppdcCatalog *)src->po_files->first();