Message ID | 1299342497-2942-1-git-send-email-galak@kernel.crashing.org |
---|---|
State | Accepted |
Commit | 55f7934d2b07a62027cb05484ea3f10666a855d1 |
Delegated to: | Wolfgang Denk |
Headers | show |
Dear Kumar Gala, In message <1299342497-2942-1-git-send-email-galak@kernel.crashing.org> you wrote: > From: Ed Swarthout <Ed.Swarthout@freescale.com> > > 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> > --- > include/common.h | 2 +- > lib/strmhz.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Applied, thanks. Best regards, Wolfgang Denk
diff --git a/include/common.h b/include/common.h index d8c912d..893af5c 100644 --- a/include/common.h +++ b/include/common.h @@ -648,7 +648,7 @@ int sprintf(char * buf, const char *fmt, ...) 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> diff --git a/lib/strmhz.c b/lib/strmhz.c index d6da1d1..89f2263 100644 --- a/lib/strmhz.c +++ b/lib/strmhz.c @@ -22,7 +22,7 @@ */ #include <common.h> -char *strmhz (char *buf, long hz) +char *strmhz (char *buf, unsigned long hz) { long l, n; long m;