[vorbis-dev] use of 'long' in vorbis structures

Segher Boessenkool segher at koffie.nl
Thu May 22 17:07:01 PDT 2003



James H. Cloos Jr. wrote:
> Not true.  Most of the 64 bit platforms use sizeof(int) == 32 bits
> and sizeof(long) == 64 bits.  (In general sizeof(long) must be equal
> to sizeof(void*).)

Not true -- there's no such requirement.

The integer type that's required to be able to hold an object
pointer is called intptr_t.  Also note that that doesn't mean
that it has to be the same size.  See <stdint.h>.

<p>Segher

<p>--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'vorbis-dev-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the Vorbis-dev mailing list