From: j8takagi Date: Thu, 4 Nov 2010 01:57:05 +0000 (+0900) Subject: ソースコードの微修正 X-Git-Tag: v0.1p15~27 X-Git-Url: https://j8takagi.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=205ee1afdbd7eaffa3a12febfaa560c89280e7dd;p=YACASL2.git ソースコードの微修正 --- diff --git a/src/exec.c b/src/exec.c index 32913f5..da6fbad 100644 --- a/src/exec.c +++ b/src/exec.c @@ -23,7 +23,7 @@ EXECMODE execmode = {false, false, false}; void svcin() { int i; - char *buffer = malloc_chk(INSIZE + 1,"svcin.buffer"); + char *buffer = malloc_chk(INSIZE + 1, "svcin.buffer"); if(fgets(buffer, INSIZE, stdin) == NULL) { sys->memory[sys->cpu->gr[1]] = sys->memory[sys->cpu->gr[2]] = 0x0;