//
// Test program for message catalog class.
//
-// Copyright 2008 by Apple Inc.
+// Copyright © 2008-2019 by Apple Inc.
//
-// 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.
//
//
// Scan the command-line...
catalog = new ppdcCatalog(NULL, argv[1]);
- printf("%s: %d messages\n", argv[1], catalog->messages->count);
+ printf("%s: %u messages\n", argv[1], (unsigned)catalog->messages->count);
for (m = (ppdcMessage *)catalog->messages->first();
m;
* 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.
*/
/*
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();