diff options
author | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-02-25 11:57:23 -0500 |
---|---|---|
committer | Michael R Sweet <michael.r.sweet@gmail.com> | 2019-02-25 11:57:23 -0500 |
commit | 7d950e92517af7f43fe9e1665d2c863354e5b2e1 (patch) | |
tree | 7e45b9138056b7601a4a4b8710d31123123a024b /ppdc | |
parent | d3454c3ef63898edb0ecb4c2b0e843a18ba607a4 (diff) | |
download | cups-7d950e92517af7f43fe9e1665d2c863354e5b2e1.tar.gz |
Fix compiler warning from newer GCC (Issue #5533)
Diffstat (limited to 'ppdc')
-rw-r--r-- | ppdc/testcatalog.cxx | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ppdc/testcatalog.cxx b/ppdc/testcatalog.cxx index a03deec54..3cb954290 100644 --- a/ppdc/testcatalog.cxx +++ b/ppdc/testcatalog.cxx @@ -1,9 +1,10 @@ // // 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. // // @@ -34,7 +35,7 @@ main(int argc, // I - Number of command-line arguments // 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; |