lkml.org 
[lkml]   [2004]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: 0xdeadbeef vs 0xdeadbeefL
Date
Followup to:  <20040707073059.GA20079@louise.pinerecords.com>
By author: Tomas Szepe <szepe@pinerecords.com>
In newsgroup: linux.dev.kernel
>
> On Jul-06 2004, Tue, 19:05 -0700
> Ray Lee <ray-lk@madrabbit.org> wrote:
>
> > According to K&R, 2nd ed, section A2.5.1 (Integer Constants):
> >
> > The type of an integer depends on its form, value and suffix.
> > [...] If it is unsuffixed octal or hexadecimal, it has the first
> > possible of these types ["in which its value can be represented"
> > -- from omitted]: int, unsigned int, long int, unsigned long
> > int.
>
> Is it safe to assume that C99 compilers append "..., long long int,
> unsigned long long int" to the list?
>

Yes.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.067 / U:0.196 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site