Minor const correctness.

This commit is contained in:
Dominic Clifton 2015-01-15 23:48:27 +00:00
parent a61f7eeddf
commit 5de6fee787
1 changed files with 1 additions and 1 deletions

View File

@ -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) {