diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-11 22:29:15 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-11 22:29:15 +0200 |
commit | 3c39e702d02600e9023f2f87f6e7c2c62aa27587 (patch) | |
tree | 871b0fb62dfb516166d6dba19f5e630f55515704 | |
parent | 4db34d6e27eacdd8b9b0340cda1905c37978c40f (diff) | |
download | busybox-w32-3c39e702d02600e9023f2f87f6e7c2c62aa27587.tar.gz busybox-w32-3c39e702d02600e9023f2f87f6e7c2c62aa27587.tar.bz2 busybox-w32-3c39e702d02600e9023f2f87f6e7c2c62aa27587.zip |
include/xatonum.h: make it survive -Wconversion
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | include/xatonum.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/xatonum.h b/include/xatonum.h index 864d2a383..978c502f6 100644 --- a/include/xatonum.h +++ b/include/xatonum.h | |||
@@ -101,7 +101,7 @@ DECLARE_STR_CONV(int, i, u) | |||
101 | 101 | ||
102 | /* Specialized */ | 102 | /* Specialized */ |
103 | 103 | ||
104 | int BUG_xatou32_unimplemented(void); | 104 | uint32_t BUG_xatou32_unimplemented(void); |
105 | static ALWAYS_INLINE uint32_t xatou32(const char *numstr) | 105 | static ALWAYS_INLINE uint32_t xatou32(const char *numstr) |
106 | { | 106 | { |
107 | if (UINT_MAX == 0xffffffff) | 107 | if (UINT_MAX == 0xffffffff) |
@@ -158,7 +158,7 @@ unsigned bb_strtou(const char *arg, char **endp, int base) FAST_FUNC; | |||
158 | int bb_strtoi(const char *arg, char **endp, int base) FAST_FUNC; | 158 | int bb_strtoi(const char *arg, char **endp, int base) FAST_FUNC; |
159 | #endif | 159 | #endif |
160 | 160 | ||
161 | int BUG_bb_strtou32_unimplemented(void); | 161 | uint32_t BUG_bb_strtou32_unimplemented(void); |
162 | static ALWAYS_INLINE | 162 | static ALWAYS_INLINE |
163 | uint32_t bb_strtou32(const char *arg, char **endp, int base) | 163 | uint32_t bb_strtou32(const char *arg, char **endp, int base) |
164 | { | 164 | { |