summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/intel/intel_tex.c
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-01-26 12:44:05 -0700
committerBrian Paul <brianp@vmware.com>2009-01-26 12:44:05 -0700
commit36daee1c7bec44b9d3641f056c84b3b2f39fabd9 (patch)
tree4c457615b779b1b27dfe6b50aab4caebc3815fdb /src/mesa/drivers/dri/intel/intel_tex.c
parent6c244b0f326504ae6add1ddcb407e73c3e72da78 (diff)
intel: asst. casts to silence warnings
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_tex.c')
-rw-r--r--src/mesa/drivers/dri/intel/intel_tex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_tex.c b/src/mesa/drivers/dri/intel/intel_tex.c
index e64d8a1556..ae0994b183 100644
--- a/src/mesa/drivers/dri/intel/intel_tex.c
+++ b/src/mesa/drivers/dri/intel/intel_tex.c
@@ -93,7 +93,7 @@ intelFreeTextureImageData(GLcontext * ctx, struct gl_texture_image *texImage)
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