xstdcmap: Changes to 'master'

Alan Coopersmith alanc at kemper.freedesktop.org
Sat Mar 10 04:35:53 UTC 2018


 xstdcmap.c |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

New commits:
commit bffe5030b03af5afb67dbeb053016ffc7569f48a
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date:   Fri Mar 9 20:31:22 2018 -0800

    Fix -Wsign-compare warnings
    
    xstdcmap.c: In function ‘parse’:
    xstdcmap.c:152:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      for (i=0; i < NPROPERTIES; i++) {
                  ^
    xstdcmap.c: In function ‘getDeepestVisual’:
    xstdcmap.c:220:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
      if (vinfo->class == visual_class && vinfo->depth > maxdepth)
                                                       ^
    xstdcmap.c: In function ‘doIndividualColormaps’:
    xstdcmap.c:288:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (i=0; i < NPROPERTIES; i++) {
                     ^
    
    Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>



More information about the xorg-commit mailing list