projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1258317
)
st/egl: Fix a void pointer arithmetic warning.
author
Chia-I Wu
<olv@lunarg.com>
Sun, 9 Jan 2011 10:18:03 +0000
(18:18 +0800)
committer
Chia-I Wu
<olv@lunarg.com>
Mon, 10 Jan 2011 03:51:13 +0000
(11:51 +0800)
src/gallium/state_trackers/egl/x11/native_dri2.c
patch
|
blob
|
history
diff --git
a/src/gallium/state_trackers/egl/x11/native_dri2.c
b/src/gallium/state_trackers/egl/x11/native_dri2.c
index adcc3b39d6823decdd3d364d850e4d246d10ffda..c82e2da863b7c47df681e28a6a89545bc639a607 100644
(file)
--- a/
src/gallium/state_trackers/egl/x11/native_dri2.c
+++ b/
src/gallium/state_trackers/egl/x11/native_dri2.c
@@
-799,7
+799,7
@@
dri2_display_hash_table_hash(void *key)
static int
dri2_display_hash_table_compare(void *key1, void *key2)
{
- return (
key1 -
key2);
+ return (
(char *) key1 - (char *)
key2);
}
struct native_display *