From dc7e2b6a224b937bae7a11641a806910a1edcdf0 Mon Sep 17 00:00:00 2001 From: Malcolm Robb Date: Thu, 11 Apr 2013 18:53:09 +0100 Subject: [PATCH] Change the type of the stats variables from uint64_t to int64_t Some compilers complain about the printf %llx format being used with a uint64_t --- dump1090.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/dump1090.c b/dump1090.c index ee61524..9f1ba52 100644 --- a/dump1090.c +++ b/dump1090.c @@ -190,16 +190,16 @@ struct { uint64_t interactive_last_update; /* Last screen update in milliseconds */ /* Statistics */ - uint64_t stat_valid_preamble; - uint64_t stat_demodulated; - uint64_t stat_goodcrc; - uint64_t stat_badcrc; - uint64_t stat_fixed; - uint64_t stat_single_bit_fix; - uint64_t stat_two_bits_fix; - uint64_t stat_http_requests; - uint64_t stat_sbs_connections; - uint64_t stat_out_of_phase; + int64_t stat_valid_preamble; + int64_t stat_demodulated; + int64_t stat_goodcrc; + int64_t stat_badcrc; + int64_t stat_fixed; + int64_t stat_single_bit_fix; + int64_t stat_two_bits_fix; + int64_t stat_http_requests; + int64_t stat_sbs_connections; + int64_t stat_out_of_phase; } Modes; /* The struct we use to store information about a decoded message. */