diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-03-04 15:43:43 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-03-06 12:26:21 -0800 |
commit | 16d9941f3aa38dde115cbff639e131761c1b36d0 (patch) | |
tree | a99bcb3dd74ca2958c747941e90c7f09f5bd67e4 /include | |
parent | 994443524ade46bad03eea0acbd1410d561c591d (diff) |
Incorrect cast in XtCvtIntToPixmap could cause bus error on 64-bit machines
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 <alan.coopersmith@oracle.com>
Reviewed-by: Matt Turner <mattst88@gmail.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions