X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=mware%2Fsprintf_test.c;h=1460661961177258bb4d1e3fafd9139637ceb334;hb=4fff2b5aec13bb0b46d17e336a988a2212ec2104;hp=a0706525e89936cd1580da74eab41f7c923f7156;hpb=646a88d7412eec847c282b9b2050b3a37a9af7a5;p=bertos.git diff --git a/mware/sprintf_test.c b/mware/sprintf_test.c old mode 100755 new mode 100644 index a0706525..14606619 --- a/mware/sprintf_test.c +++ b/mware/sprintf_test.c @@ -1,8 +1,33 @@ -/*! +/** * \file * * * \brief sprintf() implementation based on _formatted_write() @@ -13,6 +38,12 @@ /*#* *#* $Log$ + *#* Revision 1.6 2006/07/19 12:56:28 bernie + *#* Convert to new Doxygen style. + *#* + *#* 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 +82,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");