Fixed incorrect variable reference.
authorRyan C. Gordon <icculus@icculus.org>
Tue, 11 Jan 2011 03:32:17 -0500
changeset 967 51ce9d8a7533
parent 966 9dd4107eed42
child 968 fc6cebb74350
Fixed incorrect variable reference.
mojoshader_compiler.c
--- a/mojoshader_compiler.c	Sun Dec 12 02:52:17 2010 -0500
+++ b/mojoshader_compiler.c	Tue Jan 11 03:32:17 2011 -0500
@@ -356,7 +356,7 @@
 {
     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;