[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-dev] Today's warnings....
From: |
Greg Troxel |
Subject: |
Re: [gpsd-dev] Today's warnings.... |
Date: |
Fri, 12 Aug 2016 14:59:41 -0400 |
User-agent: |
Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (berkeley-unix) |
"Gary E. Miller" <address@hidden> writes:
> Yo Greg!
>
> On Fri, 12 Aug 2016 14:35:09 -0400
> Greg Troxel <address@hidden> wrote:
>
>> > if (buf[0] == '{' || isalpha(buf[0])) {
>> > And that is wrong why?
>
>> So I think you can cast to unsigned char, or to int.
>
> Since you are gonna split this hair, pick one for us.
I would go for int, since it is supposed to be an int.
signature.asc
Description: PGP signature