That looks good and indeed more naturally to me,
I will give it a try ... tomorrow.

Thank you.

Bernd


Am 28.03.2014 00:44, schrieb Charles Mills:
I wonder, what if the OP reversed the casting and instead coded

if ( ptr == (void *)0xff000000 ) ...

Is that legal? (Can you cast a constant to a void* ? My MS VS C++ just let
me do it.) Would that work?

Charles

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to