]> Shamusworld >> Repos - rmac/blobdiff - symbol.c
Added -l* to enable listing without pagination. Fix bug where a wrong malloc would...
[rmac] / symbol.c
index f2f513cc3671aa0ca652d7be9f300c40fd8281d4..b89cd8091587571de30190d93d932a025fe6ce36 100644 (file)
--- a/symbol.c
+++ b/symbol.c
@@ -400,7 +400,7 @@ int symtable(void)
 
        // Allocate storage for list headers and partition all labels. Throw away
        // macros and macro arguments.
-       SYM ** sy = (SYM **)malloc(128 * sizeof(uint32_t));
+       SYM ** sy = (SYM **)malloc(128 * sizeof(SYM **));
 
        for(i=0; i<128; i++)
                sy[i] = NULL;