From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Jan Kiszka <jan.kiszka@domain.hid>
Cc: xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [BUG] target width of shifts on 64 bits
Date: Wed, 18 Apr 2007 23:30:18 +0200 [thread overview]
Message-ID: <17958.36330.124456.342196@domain.hid> (raw)
In-Reply-To: <4626888F.4010300@domain.hid>
Jan Kiszka wrote:
> Gilles Chanteperdrix wrote:
> > Philippe Gerum wrote:
> > > - the posix registry
> >
> > Is it enough to replace 1 << (fd % BITS_PER_LONG)
> > with 1L << (fd % BITS_PER_LONG) ?
> >
>
> Yes, of course!
But ffs on x86_64 takes an int as argument, not a long. So, my best
option is to replace BITS_PER_LONG with 32 and work with ints instead of
longs.
--
Gilles Chanteperdrix.
next prev parent reply other threads:[~2007-04-18 21:30 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-18 18:13 [Xenomai-core] [BUG] target width of shifts on 64 bits Jan Kiszka
2007-04-18 20:07 ` Philippe Gerum
2007-04-18 20:27 ` Gilles Chanteperdrix
2007-04-18 21:07 ` Jan Kiszka
2007-04-18 21:30 ` Gilles Chanteperdrix [this message]
2007-04-18 22:05 ` Jan Kiszka
2007-04-18 21:07 ` Jan Kiszka
2007-04-23 9:35 ` Jan Kiszka
2007-04-23 10:30 ` Philippe Gerum
2007-04-23 10:37 ` Gilles Chanteperdrix
2007-04-23 10:52 ` Gilles Chanteperdrix
2007-04-23 12:48 ` Jan Kiszka
2007-04-23 13:00 ` Gilles Chanteperdrix
2007-04-23 13:04 ` Jan Kiszka
2007-04-23 13:08 ` Philippe Gerum
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=17958.36330.124456.342196@domain.hid \
--to=gilles.chanteperdrix@xenomai.org \
--cc=jan.kiszka@domain.hid \
--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.