In cache_item(), there was sizeof(void) expression.

Replace void *key parameter with const struct state_key *
This commit is contained in:
Brian Paul
2006-05-23 01:55:31 +00:00
parent acc9566b86
commit b8f2f6fee1

View File

@@ -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));