Applied [ 594745 ] Fixes core dump under Forte 6U1 in imagbmp.cpp
By John Skiff
I was getting a core dump under Solaris 2.6 when
storing images. My compiler is Forte 6 Update 1. The
problem was in imagbmp.cpp:
t@1 (l@1) signal BUS (invalid address alignment) in
wxANIHandler::DoCanRead at line 1304 in file "imagbmp.cpp"
1304 if ( FCC1 != *riff32 )
(dbx) p FCC1
FCC1 =
31064321
(dbx) p *riff32
*riff32 =
1380533830
(dbx)
I have tested the fix under Windows 2000, Solaris 2.6,
and Irix 6.5.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16541
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775