public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] ansification: fix makedoc for ANSI C
@ 2018-01-17 17:50 Yaakov Selkowitz
  0 siblings, 0 replies; only message in thread
From: Yaakov Selkowitz @ 2018-01-17 17:50 UTC (permalink / raw)
  To: newlib-cvs

https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=7bfa24c49563717426d1ee237f29d1ccfc4b51db

commit 7bfa24c49563717426d1ee237f29d1ccfc4b51db
Author: Yaakov Selkowitz <yselkowi@redhat.com>
Date:   Mon Dec 4 03:25:26 2017 -0600

    ansification: fix makedoc for ANSI C
    
    Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>

Diff:
---
 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 3f4ff4c..3faad96 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);


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-01-17 17:50 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-17 17:50 [newlib-cygwin] ansification: fix makedoc for ANSI C Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).