Skip to content
  • Ian Romanick's avatar
    radeon / r200: Fix incompatible pointer type warning · b790bed2
    Ian Romanick authored
    When parameters were removed from dd_function_table::Viewport (commit
    065bd6ff
    
    ), radeon_viewport (in both radeon and r200) started generating
    a warning.
    
    radeon_common.c: In function 'r200_radeon_viewport':
    radeon_common.c:415:15: warning: assignment from incompatible pointer type [enabled by default]
    radeon_common.c:419:23: warning: assignment from incompatible pointer type [enabled by default]
    
    I didn't notice this initially, and it's harmless because the function is
    never called through the incorrectly typed pointer.
    
    Signed-off-by: default avatarIan Romanick <ian.d.romanick@intel.com>
    Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
    Cc: Marek Olšák <marek.olsak@amd.com>
    b790bed2