aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/rtasm
diff options
context:
space:
mode:
authorJose Fonseca <[email protected]>2016-04-12 07:36:06 +0100
committerJose Fonseca <[email protected]>2016-04-12 16:56:15 +0100
commitb5105e67a860c6c3271ad7d48e2d80e84c3e8ade (patch)
tree30f60588c93b83b45afd4a04b27e7c780423b41f /src/gallium/auxiliary/rtasm
parentb025c23cfe6069829601df46670366a2b625f245 (diff)
gallium: Use STATIC_ASSERT whenever possible.
Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/rtasm')
-rw-r--r--src/gallium/auxiliary/rtasm/rtasm_x86sse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/rtasm/rtasm_x86sse.c b/src/gallium/auxiliary/rtasm/rtasm_x86sse.c
index 27ee8f1242a..3e7d699627a 100644
--- a/src/gallium/auxiliary/rtasm/rtasm_x86sse.c
+++ b/src/gallium/auxiliary/rtasm/rtasm_x86sse.c
@@ -2203,7 +2203,7 @@ voidptr_to_x86_func(void *v)
void *v;
x86_func f;
} u;
- assert(sizeof(u.v) == sizeof(u.f));
+ STATIC_ASSERT(sizeof(u.v) == sizeof(u.f));
u.v = v;
return u.f;
}