https://github.com/git/git
Raw File
Tip revision: 2632c897f74b1cc9b5533f467da459b9ec725538 authored by Junio C Hamano on 19 August 2016, 22:39:33 UTC
Git 2.10-rc1
Tip revision: 2632c89
strtoumax.c
#include "../git-compat-util.h"

uintmax_t gitstrtoumax (const char *nptr, char **endptr, int base)
{
#if defined(NO_STRTOULL)
	return strtoul(nptr, endptr, base);
#else
	return strtoull(nptr, endptr, base);
#endif
}
back to top