Skip to content

Commit

Permalink
Fixed incorrect variable reference.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Jan 11, 2011
1 parent 48e1d4d commit 7e9503c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader_compiler.c
Expand Up @@ -356,7 +356,7 @@ static const MOJOSHADER_astDataType *find_symbol(Context *ctx, SymbolMap *map, c
{
const void *_item = NULL;
hash_find(map->hash, sym, &_item);
SymbolScope *item = (SymbolScope *) item;
SymbolScope *item = (SymbolScope *) _item;
if (item && _index)
*_index = item->index;
return item ? item->datatype : NULL;
Expand Down

0 comments on commit 7e9503c

Please sign in to comment.