summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-04 03:25:26 -0600
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 11:47:32 -0600
commit7bfa24c49563717426d1ee237f29d1ccfc4b51db (patch)
treefefed1f3dce0492b3edcaa95eed4cfd4a219efaf
parent7192f840966684d4460542a516278ca08dd14842 (diff)
downloadcygnal-7bfa24c49563717426d1ee237f29d1ccfc4b51db.tar.gz
cygnal-7bfa24c49563717426d1ee237f29d1ccfc4b51db.tar.bz2
cygnal-7bfa24c49563717426d1ee237f29d1ccfc4b51db.zip
ansification: fix makedoc for ANSI C
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
-rw-r--r--newlib/doc/makedoc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/newlib/doc/makedoc.c b/newlib/doc/makedoc.c
index 3f4ff4c06..3faad96a2 100644
--- a/newlib/doc/makedoc.c
+++ b/newlib/doc/makedoc.c
@@ -1287,13 +1287,13 @@ DEFUN(compile, (string),
/* Got a number, embedd the magic push number
function */
add_to_definition(ptr, push_number);
- add_to_definition(ptr, atol(word));
+ add_to_definition(ptr, (stinst_type)atol(word));
break;
default:
add_to_definition(ptr, call);
lookup = lookup_word(word);
if (!lookup) ret++;
- add_to_definition(ptr, lookup);
+ add_to_definition(ptr, (stinst_type)lookup);
}
string = nextword(string, &word);