This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH v2 16/17] ansification: fix makedoc for ANSI C
- From: Yaakov Selkowitz <yselkowi at redhat dot com>
- To: newlib at sourceware dot org
- Date: Thu, 7 Dec 2017 12:19:08 -0600
- Subject: [PATCH v2 16/17] ansification: fix makedoc for ANSI C
- Authentication-results: sourceware.org; auth=none
- References: <20171207181909.1112-1-yselkowi@redhat.com>
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
---
newlib/doc/makedoc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/newlib/doc/makedoc.c b/newlib/doc/makedoc.c
index 45ddfb81e..23d5e2a04 100644
--- a/newlib/doc/makedoc.c
+++ b/newlib/doc/makedoc.c
@@ -1276,13 +1276,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);
--
2.15.1