All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>,
	xenomai-core <xenomai@xenomai.org>
Subject: [Xenomai-core] [PATCH] fix warning under 2.4
Date: Sun, 18 Jun 2006 14:37:52 +0200	[thread overview]
Message-ID: <44954920.1050001@domain.hid> (raw)

[-- Attachment #1: Type: text/plain, Size: 525 bytes --]

Hi Gilles,

this patch avoids type-mismatch warning when building for 2.4.

Jan


--- ksrc/skins/posix/syscall.c  (Revision 1222)
+++ ksrc/skins/posix/syscall.c  (Arbeitskopie)
@@ -1229,7 +1229,7 @@ static int __pthread_condattr_getclock(s

        uattrp = (pthread_condattr_t *) __xn_reg_arg1(regs);

-       uclockp = (int *) __xn_reg_arg2(regs);
+       uclockp = (clockid_t *) __xn_reg_arg2(regs);

        if (!__xn_access_ok
            (curr, VERIFY_READ, (void __user *)uattrp, sizeof(*uattrp)))


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

             reply	other threads:[~2006-06-18 12:37 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-18 12:37 Jan Kiszka [this message]
2006-06-18 12:57 ` [Xenomai-core] Re: [PATCH] fix warning under 2.4 Gilles Chanteperdrix

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=44954920.1050001@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=gilles.chanteperdrix@xenomai.org \
    --cc=xenomai@xenomai.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.