[hamradio-commits] [dump1090] 76/389: Change the type of the stats variables from uint64_t to int64_t

Matthew Ernisse mernisse-guest at moszumanska.debian.org
Wed Nov 5 00:19:42 UTC 2014


This is an automated email from the git hooks/post-receive script.

mernisse-guest pushed a commit to branch master
in repository dump1090.

commit dc7e2b6a224b937bae7a11641a806910a1edcdf0
Author: Malcolm Robb <Support at ATTAvionics.com>
Date:   Thu Apr 11 18:53:09 2013 +0100

    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. */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-hamradio/dump1090.git



More information about the pkg-hamradio-commits mailing list