[Gtkradiant] Bug with libs/ddslib/ddslib.c lines 693 to 723 on 64 bit systems.
Jay Dolan
jdolan at jdolan.dyndns.org
Thu Jan 17 06:13:52 CST 2008
Forest Hale wrote:
>
>
> All pointers are always the same size on a given architecture, the bug is somewhere else (possibly in the dds width/height reading for example?).
>
> Note that sizeof(size_t) is always equal to sizeof(void *), size_t is the correct type to use when pointer-size integer arithmetic is needed.
>
>
I thought ptrdiff_t was recommended for such things. Same-same, maybe?
--
Jay Dolan
jdolan.dyndns.org
A: Because it's difficult to read.
Q: Why is top-posting bad?
A: Top posting.
Q: What's the most annoying thing about email?
More information about the Gtkradiant
mailing list