public inbox for newlib-cvs@sourceware.org
help / color / mirror / Atom feed
From: Yaakov Selkowitz <yselkowitz@sourceware.org>
To: newlib-cvs@sourceware.org
Subject: [newlib-cygwin] ansification: fix makedoc for ANSI C
Date: Wed, 17 Jan 2018 17:50:00 -0000	[thread overview]
Message-ID: <20180117175018.107612.qmail@sourceware.org> (raw)

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);


                 reply	other threads:[~2018-01-17 17:50 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180117175018.107612.qmail@sourceware.org \
    --to=yselkowitz@sourceware.org \
    --cc=newlib-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).