From 1cd7bd2bf09d1c0419d339b5289a5204f3ee208e Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 28 Mar 2020 21:31:04 +0900 Subject: [PATCH] [qfcc] Use correct meta for zerolinker test Still fails, of course :) --- tools/qfcc/test/zerolinker.r | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/qfcc/test/zerolinker.r b/tools/qfcc/test/zerolinker.r index 2babf2b1c..a5c6f7039 100644 --- a/tools/qfcc/test/zerolinker.r +++ b/tools/qfcc/test/zerolinker.r @@ -27,7 +27,7 @@ main (void) for (type = encodings.types; ((int *)type - (int *) encodings.types) < encodings.size; type = next_type (type)) { - if (type.meta == ty_struct) { + if (type.meta == ty_union) { if (type.t.strct.tag == "tag @param") { found_param = 1; }