summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenys Vlasenko2009-10-11 22:29:15 +0200
committerDenys Vlasenko2009-10-11 22:29:15 +0200
commit3c39e702d02600e9023f2f87f6e7c2c62aa27587 (patch)
tree871b0fb62dfb516166d6dba19f5e630f55515704 /include
parent4db34d6e27eacdd8b9b0340cda1905c37978c40f (diff)
downloadbusybox-3c39e702d02600e9023f2f87f6e7c2c62aa27587.zip
busybox-3c39e702d02600e9023f2f87f6e7c2c62aa27587.tar.gz
include/xatonum.h: make it survive -Wconversion
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'include')
-rw-r--r--include/xatonum.h4
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)
{