summaryrefslogtreecommitdiff
path: root/progs
diff options
context:
space:
mode:
authorJosé Fonseca <jfonseca@vmware.com>2010-04-07 21:00:05 +0100
committerJosé Fonseca <jfonseca@vmware.com>2010-04-07 21:00:05 +0100
commitf15469039a4623ae89e7867e4904eec8eef6395b (patch)
treefda81f051612b00b54af10b95568556f95cbd9a1 /progs
parent68df2949971f6a9c0854bdfb2a252cb82fd9b7aa (diff)
util: Remove the half typedef from p_compiler.h.
Unnecessary, and doesn't even guarantee size.
Diffstat (limited to 'progs')
-rw-r--r--progs/gallium/unit/u_half_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/progs/gallium/unit/u_half_test.c b/progs/gallium/unit/u_half_test.c
index 9e3392e6d6..00bda7f50a 100644
--- a/progs/gallium/unit/u_half_test.c
+++ b/progs/gallium/unit/u_half_test.c
@@ -12,9 +12,9 @@ main(int argc, char **argv)
unsigned roundtrip_fails = 0;
for(i = 0; i < 1 << 16; ++i)
{
- half h = (half) i;
+ uint16_t h = (uint16_t) i;
union fi f;
- half rh;
+ uint16_t rh;
f.ui = util_half_to_floatui(h);
rh = util_floatui_to_half(f.ui);
if(h != rh)