Skip to content
  • Julien Cristau's avatar
    Fix a couple const-ness warnings · b22c590a
    Julien Cristau authored
    
    
    smi_accel.c: In function 'SMI_GEReset':
    smi_accel.c:51:1: warning: passing argument 4 of 'SMI_GEReset' discards 'const' qualifier from pointer target type
      WaitIdle();
     ^
    smi_accel.c:38:1: note: expected 'char *' but argument is of type 'const char *'
     SMI_GEReset(ScrnInfoPtr pScrn, int from_timeout, int line, char *file)
     ^
    [...]
    smi_driver.c: In function 'SMI_DetectPanelSize':
    smi_driver.c:1011:12: warning: assignment discards 'const' qualifier from pointer target type
         if ((s = xf86GetOptValString(pSmi->Options, OPTION_PANEL_SIZE)) != NULL) {
                ^
    
    Signed-off-by: default avatarJulien Cristau <jcristau@debian.org>
    b22c590a