summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-10-22 08:58:35 -0600
committerBrian Paul <[email protected]>2010-10-22 08:58:35 -0600
commit67f6a4a8c46fa7cf0b337f3e937b4048a9fceb97 (patch)
treebf24500a9c897919f05c0495007b1e58f5b5e188 /src
parenta00eec529562532031370b25f5941a916d5399ab (diff)
galahad: silence warnings
Diffstat (limited to 'src')
-rw-r--r--src/gallium/drivers/galahad/glhd_context.c4
-rw-r--r--src/gallium/drivers/galahad/glhd_screen.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/galahad/glhd_context.c b/src/gallium/drivers/galahad/glhd_context.c
index ff6d2aa00ab..50f66079c2a 100644
--- a/src/gallium/drivers/galahad/glhd_context.c
+++ b/src/gallium/drivers/galahad/glhd_context.c
@@ -641,7 +641,7 @@ galahad_set_index_buffer(struct pipe_context *_pipe,
break;
default:
glhd_warn("index buffer %p has unrecognized index size %d",
- _ib->buffer, _ib->index_size);
+ (void *) _ib->buffer, _ib->index_size);
break;
}
}
@@ -1013,7 +1013,7 @@ galahad_context_create(struct pipe_screen *_screen, struct pipe_context *pipe)
glhd_pipe->pipe = pipe;
- glhd_warn("Created context %p", glhd_pipe);
+ glhd_warn("Created context %p", (void *) glhd_pipe);
return &glhd_pipe->base;
}
diff --git a/src/gallium/drivers/galahad/glhd_screen.c b/src/gallium/drivers/galahad/glhd_screen.c
index 288941b1066..b6cc41d908b 100644
--- a/src/gallium/drivers/galahad/glhd_screen.c
+++ b/src/gallium/drivers/galahad/glhd_screen.c
@@ -370,7 +370,7 @@ galahad_screen_create(struct pipe_screen *screen)
glhd_screen->screen = screen;
- glhd_warn("Created screen %p", glhd_screen);
+ glhd_warn("Created screen %p", (void *) glhd_screen);
return &glhd_screen->base;
}