tinycc-devel
[Top][All Lists]
Advanced

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

[Tinycc-devel] Inconsistent format with bound_xxx_count


From: Christian Jullien
Subject: [Tinycc-devel] Inconsistent format with bound_xxx_count
Date: Fri, 13 Dec 2019 06:30:25 +0100

Hello Herman,

 

Your latest commit uses inconsistent printf format specifiers for new bound_xxx_count variables.

 

As they are declared static unsigned long bound_xxx_count, the format specifier must be %lu not %llu as currently with:

 

+#ifdef BOUND_STATISTIC

+        if (print_statistic) {

+            fprintf (stderr, "bound_ptr_add_count      %llu\n", bound_ptr_add_count);

+            fprintf (stderr, "bound_ptr_indir1_count   %llu\n", bound_ptr_indir1_count);

 

 

C.


reply via email to

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