Source-Changes archive

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

CVS commit: xsrc/external/mit/xorg-server/dist/hw/xfree86/xaa




To: source-changes%NetBSD.org@localhost

Subject: CVS commit: xsrc/external/mit/xorg-server/dist/hw/xfree86/xaa

From: "Alan Barrett" <apb%netbsd.org@localhost>

Date: Fri, 2 Nov 2012 07:33:47 +0000


Module Name:    xsrc
Committed By:   apb
Date:           Fri Nov  2 07:33:47 UTC 2012

Modified Files:
        xsrc/external/mit/xorg-server/dist/hw/xfree86/xaa: xaaPCache.c

Log Message:
Add parentheses in code that attempts to convert 3 bytes to a 24-bit value.
"+" has higher precedence than "<<", so the old code would have given
incorrect results.  Found using clang -Wshift-op-parentheses.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 \
    xsrc/external/mit/xorg-server/dist/hw/xfree86/xaa/xaaPCache.c

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






Prev by Date: CVS commit: src/doc

Next by Date: CVS commit: xsrc/external/mit/libpciaccess/dist/src

Previous by Thread: CVS commit: src/doc

Next by Thread: CVS commit: xsrc/external/mit/libpciaccess/dist/src

Indexes:

reverse Date

reverse Thread

Old Index



Home | Main Index | Thread Index | Old Index