Skip to content
  • Alan Coopersmith's avatar
    Fix const-mismatch warnings for DisplayModePtr's · d5f9a131
    Alan Coopersmith authored
    Includes fixes for:
    "xf86Config.c", line 2434: warning: argument #1 is incompatible with prototype:
    	prototype: pointer to struct _DisplayModeRec: "xf86.h", line 351
    	argument : pointer to const struct _DisplayModeRec
    
    "xf86EdidModes.c", line 312: warning: argument #1 is incompatible with prototype:
    	prototype: pointer to struct _DisplayModeRec: "../../../hw/xfree86/common/xf86.h", line 351
    	argument : pointer to const struct _DisplayModeRec
    
    "xf86EdidModes.c", line 438: warning: assignment type mismatch:
    	pointer to struct _DisplayModeRec "=" pointer to const struct _DisplayModeRec
    
    "xf86Modes.c", line 701: warning: assignment type mismatch:
    	pointer to struct _DisplayModeRec "=" pointer to const struct _DisplayModeRec
    d5f9a131