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; }