For example, an input of 0x80000000 should print:
2147.484 instead of -2147.-483.
Signed-off-by: Ed Swarthout <Ed.Swarthout@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
int vsprintf(char *buf, const char *fmt, va_list args);
/* lib/strmhz.c */
-char * strmhz(char *buf, long hz);
+char * strmhz(char *buf, unsigned long hz);
/* lib/crc32.c */
#include <u-boot/crc.h>
*/
#include <common.h>
-char *strmhz (char *buf, long hz)
+char *strmhz (char *buf, unsigned long hz)
{
long l, n;
long m;