some fast patch

This commit is contained in:
Nishi 2026-09-23 19:46:54 +09:00
commit b38b829612
9 changed files with 150 additions and 7 deletions

View file

@ -74,8 +74,9 @@ void initwork(SJ4_CONTEXT2) {
}
#ifndef SJ4_GLOBAL
Sj4Context* alloccontext(const char* dic) {
Sj4Context* ctx = calloc(1, sizeof(*ctx));
Sj4Context*
alloccontext(const char* dic) {
Sj4Context* ctx = (Sj4Context*)calloc(1, sizeof(*ctx));
DictFile* dict;
DICTL* node;