X-Git-Url: http://j8takagi.net/cgi-bin/gitweb.cgi?p=YACASL2.git;a=blobdiff_plain;f=src%2Fstruct.c;h=c1a15429b6b7924b1758eca63d7cf093ee1e893d;hp=0f0ae434aa38884248beb4c21b5545a4de7ff6b6;hb=15a07be760d84746bbace2d70326cd939f4568fd;hpb=7df71a043cc3500a8180667a321f0165f3ed6b05;ds=sidebyside diff --git a/src/struct.c b/src/struct.c index 0f0ae43..c1a1542 100644 --- a/src/struct.c +++ b/src/struct.c @@ -210,7 +210,7 @@ const void (*getcmdptr(WORD code)) CMDTYPE getcmdtype(WORD code) { CMDTAB *t; - CMDTYPE type = 0; + CMDTYPE type = NONE; for(t = code_cmdtype[hash_code(code)]; t != NULL; t = t->next) { if(code == t->cmd->code) {