Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/sys/external/bsd/drm2/dist/drm/i915



Module Name:    src
Committed By:   riastradh
Date:           Wed Feb 17 00:01:23 UTC 2016

Modified Files:
        src/sys/external/bsd/drm2/dist/drm/i915: intel_pm.c

Log Message:
Cast uint8_t to uint32_t before shifting left by 24.

Otherwise this is undefined behaviour unless int is 32-bit and the
uint8_t value happens to be <=127.


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/sys/external/bsd/drm2/dist/drm/i915/intel_pm.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index