From 7d950e92517af7f43fe9e1665d2c863354e5b2e1 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Mon, 25 Feb 2019 11:57:23 -0500 Subject: Fix compiler warning from newer GCC (Issue #5533) --- ppdc/testcatalog.cxx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'ppdc') 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; -- cgit v1.2.1