From 00d87106e4d2cf2e21cac6fd2485e3bc9e3b6acb Mon Sep 17 00:00:00 2001 From: bernie Date: Fri, 4 Nov 2005 17:47:26 +0000 Subject: [PATCH] Fix one warning. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@436 38d2e660-2303-0410-9eaa-f027e97ec537 --- mware/sprintf_test.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/mware/sprintf_test.c b/mware/sprintf_test.c index a0706525..697a544e 100755 --- a/mware/sprintf_test.c +++ b/mware/sprintf_test.c @@ -13,6 +13,9 @@ /*#* *#* $Log$ + *#* Revision 1.5 2005/11/04 17:47:26 bernie + *#* Fix one warning. + *#* *#* Revision 1.4 2005/11/04 17:43:27 bernie *#* Fix for LP64 architectures; Add some more tests. *#* @@ -51,7 +54,7 @@ int main(UNUSED_ARG(int, argc), UNUSED_ARG(char **,argv)) TEST("%ld", -12345678L, "-12345678"); TEST("%lu", 4294967295UL, "4294967295"); TEST("%hd", -12345, "-12345"); - TEST("%hu", 65535UL, "65535"); + TEST("%hu", 65535U, "65535"); TEST("%8d", 123, " 123"); TEST("%8d", -123, " -123"); -- 2.25.1