unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Subtle error defining VALMASK?
@ 2014-09-10 13:57 Dmitry Antipov
  2014-09-10 14:58 ` Paul Eggert
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Antipov @ 2014-09-10 13:57 UTC (permalink / raw)
  To: Stefan Monnier, Paul Eggert; +Cc: Emacs development discussions

In:

#define VALMASK_val (USE_LSB_TAG ? - (1 << GCTYPEBITS) : VAL_MAX)

shouldn't it be

#define VALMASK_val (USE_LSB_TAG ? - (1L << GCTYPEBITS) : VAL_MAX)

or, if --with-wide-int on a 32-bit system:

#define VALMASK_val (USE_LSB_TAG ? - (1LL << GCTYPEBITS) : VAL_MAX)

?

Dmitry




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-09-10 20:57 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-09-10 13:57 Subtle error defining VALMASK? Dmitry Antipov
2014-09-10 14:58 ` Paul Eggert
2014-09-10 15:30   ` Dmitry Antipov
2014-09-10 16:54     ` Paul Eggert
2014-09-10 17:25       ` More issues with r117851 [Was: Re: Subtle error defining VALMASK?] Dmitry Antipov
2014-09-10 20:57         ` Paul Eggert

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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