Re: [OMPI devel] trunk warnings on x86

2014-08-03 Thread Paul Hargrove
Whether just adding a (uintptr_t) cast is sufficient or not depends on the usage, and I don't pretend to have looked much deeper than seeing that this macro is common to the line numbers in the warnings I quoted. If the intent is to uniformly store a pointer then a (uintptr_t *) cast may be approp

Re: [OMPI devel] trunk warnings on x86

2014-08-03 Thread Ralph Castain
Arg - that raises an interesting point. This is a pointer to a 64-bit number. Will uintptr_t resolve that problem on such platforms? On Aug 2, 2014, at 8:12 PM, Paul Hargrove wrote: > Looks like on a 32-bit platform a (uintptr_t) cast is desired in the > OMPI_CAST_RTE_NAME() macro. > > Warnin