Minor const correctness.
This commit is contained in:
parent
a61f7eeddf
commit
5de6fee787
|
@ -92,7 +92,7 @@ int a2d(char ch)
|
|||
|
||||
char a2i(char ch, const char **src, int base, int *nump)
|
||||
{
|
||||
char *p = *src;
|
||||
const char *p = *src;
|
||||
int num = 0;
|
||||
int digit;
|
||||
while ((digit = a2d(ch)) >= 0) {
|
||||
|
|
Loading…
Reference in New Issue