命令ハッシュ表周辺の調整
[YACASL2.git] / test / unit / print_code_type_hash / print_code_type.c
index c081888..a74fcca 100644 (file)
@@ -6,7 +6,7 @@ void print_code_type()
 {
     int i;
     CMDCODETAB *np;
-    for(i = 0; i < cmdcodesize; i++){
+    for(i = 0; i < cmdtabsize; i++){
         for(np = code_type[i]; np != NULL; np = np->next) {
             fprintf(stdout, "(%2d) - #%04X\t0%02o\t%s\n", i, np->cca->code, np->cca->type, np->cca->cmd);
         }