Fix one warning.
authorbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 4 Nov 2005 17:47:26 +0000 (17:47 +0000)
committerbernie <bernie@38d2e660-2303-0410-9eaa-f027e97ec537>
Fri, 4 Nov 2005 17:47:26 +0000 (17:47 +0000)
git-svn-id: https://src.develer.com/svnoss/bertos/trunk@436 38d2e660-2303-0410-9eaa-f027e97ec537

mware/sprintf_test.c

index a0706525e89936cd1580da74eab41f7c923f7156..697a544ecc6fcc19d22b41f805f25dfa600c5883 100755 (executable)
@@ -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");