diff -r d51537335896 -r 824d67791db0 mojoshader_compiler.c --- a/mojoshader_compiler.c Wed Feb 24 01:21:21 2010 -0500 +++ b/mojoshader_compiler.c Wed Feb 24 03:20:50 2010 -0500 @@ -587,14 +587,14 @@ } // fail -static void usertypemap_nuke(const void *k, const void *v) { /* no-op. */ } +static void usertypemap_nuke(const void *k, const void *v, void *d) {/*no-op*/} static int create_usertypemap(Context *ctx) { UserTypeMap *map = &ctx->usertypes; map->scope = NULL; - map->types = hash_create(255, hash_hash_string, hash_keymatch_string, + map->types = hash_create(ctx, hash_hash_string, hash_keymatch_string, usertypemap_nuke, 1, ctx->malloc, ctx->free, ctx->malloc_data); if (!map->types)