summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2009-03-07 13:23:08 -0700
committerBrian Paul <[email protected]>2009-03-07 13:23:08 -0700
commit799f55803d15602b10d2bb97ff62792f05ce4de3 (patch)
tree9d43ed803a9675789e193b95c191e5033a216e96 /src/mesa/state_tracker
parent3377cd535e6db420c762a0cc0f73fd8fa63a5bc1 (diff)
gallium: use unsigned long to silence warnings with 64-bit build
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r--src/mesa/state_tracker/st_cb_texture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c
index a5044541459..c805e399de2 100644
--- a/src/mesa/state_tracker/st_cb_texture.c
+++ b/src/mesa/state_tracker/st_cb_texture.c
@@ -205,7 +205,7 @@ __memcpy(void *to, const void *from, size_t n)
static void *
do_memcpy(void *dest, const void *src, size_t n)
{
- if ((((unsigned) src) & 63) || (((unsigned) dest) & 63)) {
+ if ((((unsigned long) src) & 63) || (((unsigned long) dest) & 63)) {
return __memcpy(dest, src, n);
}
else