summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/translate
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-05-01 20:41:03 +0100
committerKeith Whitwell <[email protected]>2008-05-01 20:49:45 +0100
commitfb3623b235f5caa9d76e656b1e5eda797c7c73eb (patch)
tree0e51644fe7b0d5de341c9439f28aec3b6813162e /src/gallium/auxiliary/translate
parentb8936ca1c22de7b0cb695ee3b392e4473fd17aa0 (diff)
rtasm: fix labels after (not so) recent change to allow dynamic fn growth
Using char * for labels doesn't work if you realloc the function during assembly and free the old storage...
Diffstat (limited to 'src/gallium/auxiliary/translate')
-rw-r--r--src/gallium/auxiliary/translate/translate_sse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/translate/translate_sse.c b/src/gallium/auxiliary/translate/translate_sse.c
index f590d48b787..a54ac5a82ff 100644
--- a/src/gallium/auxiliary/translate/translate_sse.c
+++ b/src/gallium/auxiliary/translate/translate_sse.c
@@ -404,7 +404,7 @@ static boolean build_vertex_emit( struct translate_sse *p,
struct x86_reg srcEAX = x86_make_reg(file_REG32, reg_CX);
struct x86_reg countEBP = x86_make_reg(file_REG32, reg_BP);
struct x86_reg translateESI = x86_make_reg(file_REG32, reg_SI);
- uint8_t *fixup, *label;
+ int fixup, label;
unsigned j;
p->func = func;