lkml.org 
[lkml]   [1999]   [Feb]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Q: void* vs. unsigned long

david parsons writes:

> ____
> david parsons \bi/ sizeof long == 32 bits? Oh, my, those authors are
> \/ going to have an expensive portability lesson.

I wish they would, but they won't if they only use Windows.
Even Win64 will have sizeof(long)==4. Oh well, Win64 sucks.
(people were expected to use Microsoft data types like WORD)

I believe this violates ANSI C, since a Win64 pointer can not
be cast to a long and back without damage.


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

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