| 99 | } |
| 100 | |
| 101 | int git_parse_int64(const char *value, int64_t *ret) |
| 102 | { |
| 103 | intmax_t tmp; |
| 104 | if (!git_parse_signed(value, &tmp, maximum_signed_value_of_type(int64_t))) |
| 105 | return 0; |
| 106 | *ret = tmp; |
| 107 | return 1; |
| 108 | } |
| 109 | |
| 110 | int git_parse_uint(const char *value, unsigned int *ret) |
| 111 | { |
no test coverage detected