st/egl: Fix a void pointer arithmetic warning.

This commit is contained in:
Chia-I Wu
2011-01-09 18:18:03 +08:00
parent 12583174c5
commit 97e9a0e23f
@@ -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 *