This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH v2 16/17] ansification: fix makedoc for ANSI C


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]