Kurt Roeckx wrote:

On Fri, Sep 09, 2005 at 09:16:04AM +0530, Ganesan Rajagopal wrote:
Thanks. But how do you give a printf format argument for intptr_t?

You shouldn't.  You passed an integer to it, so extract an
integer from the va_list.  You could cast it back to an int if
you want to.
Oh we already agreed about that :-). I was curious how to handle intptr_t portably in
a printf. Thanks for the info.

Ganesan


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to