gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] Fix for warnings from left shifting a negative number


From: Gary E. Miller
Subject: Re: [gpsd-dev] Fix for warnings from left shifting a negative number
Date: Fri, 9 Sep 2016 14:58:51 -0700

Yo Hal!

On Fri, 09 Sep 2016 14:23:28 -0700
Hal Murray <address@hidden> wrote:

> 

Works for me, fix pushed.  Is there a standard constant to use instead of
0xffffFFFFffffFFFF ?  Or maybe should be cast to (uint64_t) ?

My first thought was to suffix with UL, but that might make it a 32 bit
unsigned long...

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

Attachment: pgpXOI5L1UVnD.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]