Re: [RFA 37/67] Constify some commands in record.c

Pedro Alves
2017-09-21T10:00:38Z

On 09/21/2017 06:09 AM, Tom Tromey wrote:
> @@ -456,13 +458,15 @@ get_context_size (char **arg)
> if (!isdigit (*pos))
> error (_("Expected positive number, got: %s."), pos);
>
> - return strtol (pos, arg, 10);
> + long result = strtol (pos, &end, 10);
> + *arg = end;
> + return result;
> }

Indentation looks odd. [3 spaces instead of 2?]

Thanks,
Pedro Alves