[git commit master] include/xatonum.h: make it survive -Wconversion
Denys Vlasenko
vda.linux at googlemail.com
Sun Oct 11 20:29:15 UTC 2009
commit: http://git.busybox.net/busybox/commit/?id=3c39e702d02600e9023f2f87f6e7c2c62aa27587
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
include/xatonum.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/xatonum.h b/include/xatonum.h
index 864d2a3..978c502 100644
--- a/include/xatonum.h
+++ b/include/xatonum.h
@@ -101,7 +101,7 @@ DECLARE_STR_CONV(int, i, u)
/* Specialized */
-int BUG_xatou32_unimplemented(void);
+uint32_t BUG_xatou32_unimplemented(void);
static ALWAYS_INLINE uint32_t xatou32(const char *numstr)
{
if (UINT_MAX == 0xffffffff)
@@ -158,7 +158,7 @@ unsigned bb_strtou(const char *arg, char **endp, int base) FAST_FUNC;
int bb_strtoi(const char *arg, char **endp, int base) FAST_FUNC;
#endif
-int BUG_bb_strtou32_unimplemented(void);
+uint32_t BUG_bb_strtou32_unimplemented(void);
static ALWAYS_INLINE
uint32_t bb_strtou32(const char *arg, char **endp, int base)
{
--
1.6.3.3
More information about the busybox-cvs
mailing list