From b8f2f6fee147f423438ef7044984b1d7cfb5a428 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 23 May 2006 01:55:31 +0000 Subject: In cache_item(), there was sizeof(void) expression. Replace void *key parameter with const struct state_key * --- src/mesa/main/texenvprogram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/texenvprogram.c') diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c index 0cbbf58a5d..5b2eb2eb52 100644 --- a/src/mesa/main/texenvprogram.c +++ b/src/mesa/main/texenvprogram.c @@ -1162,7 +1162,7 @@ static void clear_cache( struct texenvprog_cache *cache ) static void cache_item( struct texenvprog_cache *cache, GLuint hash, - void *key, + const struct state_key *key, void *data ) { struct texenvprog_cache_item *c = MALLOC(sizeof(*c)); -- cgit v1.2.3