libpciaccess: Changes to 'master'

Adam Jackson ajax at kemper.freedesktop.org
Tue Oct 20 11:40:24 PDT 2015


 src/linux_sysfs.c |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit c1de5dc0541e58372dcddc5120e1e68e03f4f619
Author: Chuck Tuffli <chuck at tuffli.net>
Date:   Thu Feb 6 18:09:35 2014 -0800

    libpciaccess: Fix incorrect format specification
    
    Building libpciaccess generates a warning on versions of Linux in which
    the definition of the struct mtrr_sentry has changed to __u64.
    
    Since sentry.base is assigned from a pciaddr_t, always cast sentry.base
    to be type pciaddr_t and modify the formatting string to use PRIx64
    instead of %08lx
    
    Verified on Ubuntu 10.04 and 14.04
    
    Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=74643
    
    Signed-off-by: Chuck Tuffli <chuck at tuffli.net>



More information about the xorg-commit mailing list