Re: [NtDev] Re: Silly question on IA64

> Interestingly, the macro CONTAINING_RECORD64 does arithmetic on

ULONGLONG, which is not a pointer type. You may say Microsoft ought to

So, CONTAINING_RECORD is not 64bit safe?

Looks like we (this list community) will need to write a “64bit Safety
Guidelines” document collectively and place it to some web site. This will
help a lot.

Max


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

xxxxx@intel.com said:

What is the difference between casting to a ULONG, and casting to a
PVOID? If you ++ either one, they both increment by one.

Arithmetic on void* is not allowed. You must have meant char*.

Steve Williams “The woods are lovely, dark and deep.
xxxxx@icarus.com But I have promises to keep,
xxxxx@picturel.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep.”


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com

Err, um… Yes. I meant PCHAR. Phil

-----Original Message-----
From: Stephen Williams [mailto:xxxxx@icarus.com]
Sent: Wednesday, June 06, 2001 10:22 AM
To: NT Developers Interest List
Subject: [ntdev] RE: Silly question on IA64

xxxxx@intel.com said:

What is the difference between casting to a ULONG, and casting to a
PVOID? If you ++ either one, they both increment by one.

Arithmetic on void* is not allowed. You must have meant char*.

Steve Williams “The woods are lovely, dark and deep.
xxxxx@icarus.com But I have promises to keep,
xxxxx@picturel.com and lines to code before I sleep,
http://www.picturel.com And lines to code before I sleep.”


You are currently subscribed to ntdev as: xxxxx@intel.com
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com


You are currently subscribed to ntdev as: $subst(‘Recip.EmailAddr’)
To unsubscribe send a blank email to leave-ntdev-$subst(‘Recip.MemberIDChar’)@lists.osr.com