Originally fixed by Leo Binchy for Sun Bug 4163152 to resolve bus error on VSW5 (XTS) testing on 64-bit SPARC test run on Solaris 7. ( Testcase: XtCvtIntToPixmap, Purpose: 1)
Since we're converting from Int to Pixmap, need to access the argument passed in as an int, not a Pixmap, which is consistent with the other IntToXXX converters in this file. Signed-off-by: Alan Coopersmith <[email protected]> --- src/Converters.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/Converters.c b/src/Converters.c index 95dd06b..6574ce0 100644 --- a/src/Converters.c +++ b/src/Converters.c @@ -1360,7 +1360,7 @@ Boolean XtCvtIntToPixmap( XtNwrongParameters,"cvtIntToPixmap",XtCXtToolkitError, "Integer to Pixmap conversion needs no extra arguments", (String *) NULL, (Cardinal *)NULL); - done(Pixmap, *(Pixmap*)fromVal->addr); + done(Pixmap, *(int*)fromVal->addr); } #ifdef MOTIFBC -- 1.7.3.2 _______________________________________________ [email protected]: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel
