xmag: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Wed Feb 8 21:24:30 PST 2012


 Makefile.am  |    2 +-
 Scale.c      |    6 ++++++
 configure.ac |    8 ++++++++
 3 files changed, 15 insertions(+), 1 deletion(-)

New commits:
commit 50ed4f69a5f5e535128c5e2d1abc252b093dff06
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Tue Dec 20 20:40:06 2011 -0800

    Use lrint() from math library if available
    
    Moves -lm from being hardcoded in Makefile.am to being added via
    AC_SEARCH_LIBS in configure.ac setting it in $(LIBS)
    
    Using lrint() [returns long int] instead of rint() [returns double]
    clears a bunch of gcc warnings of the form:
    "cast from function call of type ‘double’ to non-matching type ‘short int’"
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
    Reviewed-by: James Cloos <cloos at jhcloos.com>



More information about the xorg-commit mailing list