Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Richard Henderson <rth@redhat.com>
To: Elena Zannoni <ezannoni@redhat.com>
Cc: gdb-patches@sources.redhat.com
Subject: Re: [PATCH/RFC] gag some compiler warnings
Date: Thu, 03 Jul 2003 16:49:00 -0000	[thread overview]
Message-ID: <20030703164955.GE24985@redhat.com> (raw)
In-Reply-To: <16132.24210.943200.572653@localhost.redhat.com>

On Thu, Jul 03, 2003 at 12:49:22PM -0400, Elena Zannoni wrote:
> -			      (PTRACE_ARG3_TYPE) addr, 0);
> +			      (PTRACE_ARG3_TYPE) (long) addr, 0);

The Most Correct type is intptr_t, from <stdint.h>.  Except
that's a C99 thing, and doesn't exist everywhere.  You could
do something with configure...

Failing that, I think size_t is the best choice.


r~


  reply	other threads:[~2003-07-03 16:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-03 16:42 Elena Zannoni
2003-07-03 16:49 ` Richard Henderson [this message]
2003-07-03 20:49 ` Mark Kettenis
2003-07-07 18:35   ` Elena Zannoni

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=20030703164955.GE24985@redhat.com \
    --to=rth@redhat.com \
    --cc=ezannoni@redhat.com \
    --cc=gdb-patches@sources.redhat.com \
    /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