Bug 504766. qcms: Fix unaligned reads in qcms. r=jrmuizel
commitdb1433587817c6c3588032939e98811b66ba29a2
authorVladimir Vukicevic <vladimir@pobox.com>
Tue, 8 Sep 2009 15:36:28 +0000 (8 11:36 -0400)
committerVladimir Vukicevic <vladimir@pobox.com>
Tue, 8 Sep 2009 15:36:28 +0000 (8 11:36 -0400)
tree3f3c0a5e9548e322430b72df5c8cf693b79555d0
parent839352914bd37c5539c406c195450b306498fd70
Bug 504766. qcms: Fix unaligned reads in qcms. r=jrmuizel

Offsets are not guaranteed to be aligned, so don't assume that they are.
memcpy instead of just casting and dereferencing.
gfx/qcms/iccread.c