commit 7de5dcd6f96e1e5dbea83e99b1924bf9d2eb9823
parent 9e07d0b27c6c535724d158cc57a8b2d2e644f548
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Wed, 25 Nov 2020 16:41:09 +0100
Merge branch 'release_0.1.1_r0'
Diffstat:
2 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/green-compute.c b/src/green-compute.c
@@ -326,9 +326,11 @@ static int
cmp_records
(void const* r1, void const* r2)
{
+ struct log_record* record1;
+ struct log_record* record2;
ASSERT(r1 && r2);
- const struct log_record* record1 = *(struct log_record**)r1;
- const struct log_record* record2 = *(struct log_record**)r2;
+ record1 = *(struct log_record**)r1;
+ record2 = *(struct log_record**)r2;
if(record1->line_num == record2->line_num)
return record1->var_num - record2->var_num;
return record1->line_num - record2->line_num;
diff --git a/src/green-output.c b/src/green-output.c
@@ -323,8 +323,8 @@ dump_green_info
CELL(u, green->counts.tbound_count);
CELL(u, green->counts.hbound_count);
CELL(u, green->counts.fbound_count);
- CELL(zu, green->counts.ok_count);
- CELL(zu, green->counts.failed_count);
+ CELL(lu, (long unsigned)green->counts.ok_count);
+ CELL(lu, (long unsigned)green->counts.failed_count);
fprintf(stream, "</tr>\n");
fprintf(stream, "</table>\n");