projects
/
YACASL2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3430419
)
ソースの修正
author
j8takagi
<j8takagi@nifty.com>
Sat, 19 Mar 2011 13:21:35 +0000
(22:21 +0900)
committer
j8takagi
<j8takagi@nifty.com>
Sat, 19 Mar 2011 13:21:35 +0000
(22:21 +0900)
src/cmd.c
patch
|
blob
|
history
diff --git
a/src/cmd.c
b/src/cmd.c
index
a8613e7
..
5930ad9
100644
(file)
--- a/
src/cmd.c
+++ b/
src/cmd.c
@@
-99,7
+99,7
@@
bool create_cmdtype_code()
int i;
cmdtabsize = comet2cmdsize; /* ハッシュ表のサイズ */
- cmdtype_code = calloc_chk(cmdtabsize, sizeof(CMDTAB), "cmdtype_code");
+ cmdtype_code = calloc_chk(cmdtabsize, sizeof(CMDTAB
**
), "cmdtype_code");
for(i = 0; i < comet2cmdsize; i++) {
hashval = hash_cmdtype(comet2cmd[i].name, comet2cmd[i].type); /* ハッシュ値の生成 */
p = malloc_chk(sizeof(CMDTAB), "cmdtype_code");