Yo Hal!

On Thu, 30 Oct 2025 00:46:21 -0700
Hal Murray <[email protected]> wrote:

> I'm still getting format errors -- several 32 bit systems.
> 
> gpsd-3.26.2~dev/clients/gpsdecode.c:700:31: warning: format 
> \u2018%lu\u2019 expects argument of type \u2018long unsigned
> int\u2019, but argument 3 has type \u2018size_t\u2019 {aka
> \u2018unsigned int\u2019} [-Wformat=]
> gpsd-3.26.2~dev/clients/gpsdecode.c:700:37: warning: format 
> \u2018%lu\u2019 expects argument of type \u2018long unsigned
> int\u2019, but argument 4 has type \u2018size_t\u2019 {aka
> \u2018unsigned int\u2019} [-Wformat=]

That was more then enough.  Patched in git head.  %lu -> %z

> gpsd-3.26.2~dev/gpsd/gpsd.c:1813:34: warning: format \u2018%ld\u2019 
> expects argument of type \u2018long int\u2019, but argument 5 has
> type \u2018gps_fd_t\u2019 {aka \u2018int\u2019} [-Wformat=]

Different bug.  Cast added.

Please test.


RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        [email protected]  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgpi1RRUGi23K.pgp
Description: OpenPGP digital signature

Reply via email to