X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Fsprintf_test.c;h=697a544ecc6fcc19d22b41f805f25dfa600c5883;hb=2dde5222175bc7b2da7256fc198c51e3a7eb3320;hp=a0706525e89936cd1580da74eab41f7c923f7156;hpb=646a88d7412eec847c282b9b2050b3a37a9af7a5;p=bertos.git 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");