From: bal Date: Wed, 23 Jan 1985 16:16:49 +0000 (+0000) Subject: bug fixed in get_instrs(): instr should be an int rather than a Celem_t. X-Git-Tag: release-5-5~5720 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=e46c49e2916769290c19a56c45f10a9cd1093785;p=ack.git bug fixed in get_instrs(): instr should be an int rather than a Celem_t. --- diff --git a/util/ego/cs/cs_profit.c b/util/ego/cs/cs_profit.c index e41315a7e..aa2b15ac5 100644 --- a/util/ego/cs/cs_profit.c +++ b/util/ego/cs/cs_profit.c @@ -28,11 +28,11 @@ STATIC get_instrs(f, s_p) * Such a set must be delimited by a number lower than * the number of the first EM mnemonic. */ - Celem_t instr; + int instr; fscanf(f, "%d", &instr); while (instr >= sp_fmnem) { - Cadd(instr, s_p); + Cadd((Celem_t) instr, s_p); fscanf(f, "%d", &instr); } }