From: Wolfgang (Blub) Bumiller Date: Thu, 16 Aug 2012 10:58:26 +0000 (+0200) Subject: it's not undefined, stupid X-Git-Tag: 0.1-rc1~264 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b3d4e406ec775bb953ddb38d54d7f9a29f56b0fc;p=xonotic%2Fgmqcc.git it's not undefined, stupid --- diff --git a/ir.h b/ir.h index dccc970..59b4488 100644 --- a/ir.h +++ b/ir.h @@ -321,6 +321,6 @@ void ir_builder_dump(ir_builder*, int (*oprintf)(const char*, ...)); /* This code assumes 32 bit floats while generating binary */ extern int check_int_and_float_size -[ (sizeof(int32_t) == sizeof(( (ir_value*)(NULL) )->constval.vvec.x)) ? 1 : -1 ]; +[ (sizeof(int32_t) == sizeof(qcfloat)) ? 1 : -1 ]; #endif