projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gallium: Use STATIC_ASSERT whenever possible.
[mesa.git]
/
src
/
gallium
/
auxiliary
/
rtasm
/
rtasm_x86sse.c
diff --git
a/src/gallium/auxiliary/rtasm/rtasm_x86sse.c
b/src/gallium/auxiliary/rtasm/rtasm_x86sse.c
index 27ee8f1242a60a621ab6826910b59a2a55f970cd..3e7d699627ab117b1b935b04a6eaebd105f16e5b 100644
(file)
--- 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;
}