| 888 | } |
| 889 | |
| 890 | static inline unsigned int |
| 891 | ink_atoui(const char *str) |
| 892 | { |
| 893 | uint64_t val = ink_atoui64(str); |
| 894 | |
| 895 | if (val > UINT_MAX) { |
| 896 | return UINT_MAX; |
| 897 | } else { |
| 898 | return static_cast<unsigned int>(val); |
| 899 | } |
| 900 | } |
no test coverage detected