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

Tom Tromey
2017-09-23T04:05:40Z

>>>>> "Pedro" == Pedro Alves <palves@redhat.com> writes:

Pedro> 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;
>> }

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

I've fixed it.

Tom