projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3377cd5
)
gallium: use unsigned long to silence warnings with 64-bit build
author
Brian Paul
<brianp@vmware.com>
Sat, 7 Mar 2009 20:23:08 +0000
(13:23 -0700)
committer
Brian Paul
<brianp@vmware.com>
Sat, 7 Mar 2009 20:23:08 +0000
(13:23 -0700)
src/mesa/state_tracker/st_cb_texture.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_texture.c
b/src/mesa/state_tracker/st_cb_texture.c
index a50445414598882362b40403b6a63e9cbcb82a99..c805e399de25c538101977e63ea2eaa60cedd125 100644
(file)
--- 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