public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a95c31
)
bug fixed in get_instrs(): instr should be an int rather than a Celem_t.
author
bal
<none@none>
Wed, 23 Jan 1985 16:16:49 +0000
(16:16 +0000)
committer
bal
<none@none>
Wed, 23 Jan 1985 16:16:49 +0000
(16:16 +0000)
util/ego/cs/cs_profit.c
patch
|
blob
|
history
diff --git
a/util/ego/cs/cs_profit.c
b/util/ego/cs/cs_profit.c
index
e41315a
..
aa2b15a
100644
(file)
--- 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;
+
in
t instr;
fscanf(f, "%d", &instr);
while (instr >= sp_fmnem) {
- Cadd(instr, s_p);
+ Cadd(
(Celem_t)
instr, s_p);
fscanf(f, "%d", &instr);
}
}