Community
Participate
Working Groups
We assume we're running on small endian machines. This is usually not causing a problem for us as a result of the zero-value hack that is in the XtGetValues implementation for most platforms, which will set up our result nicely according to the machine's endianness. However there are cases where this hack is not present (the case that brought this to our attention was AIX), so we cannot rely on it.
Fixed, with SN's blessing. In the C code for our XtGetValues stub we explicitly cast the result according to its expected size.