| 108 | } |
| 109 | |
| 110 | int git_parse_uint(const char *value, unsigned int *ret) |
| 111 | { |
| 112 | uintmax_t tmp; |
| 113 | if (!git_parse_unsigned(value, &tmp, maximum_unsigned_value_of_type(unsigned int))) |
| 114 | return 0; |
| 115 | *ret = tmp; |
| 116 | return 1; |
| 117 | } |
| 118 | |
| 119 | int git_parse_ulong(const char *value, unsigned long *ret) |
| 120 | { |
no test coverage detected