~vcs-imports/xserver-xorg-video-intel/master

Viewing all changes in revision 8611.

  • Committer: Ville Syrjälä
  • Date: 2023-02-01 18:07:58 UTC
  • Revision ID: git-v1:b74b67f0f321875492968f7097b9d6e82a66d7df
sna: Shut up enum warns

The libdrm enum usage is a mess, and modern gcc is unhappy about
the implicit conversions:
../src/sna/sna_present.c:229:26: warning: implicit conversion from ‘enum <anonymous>’ to ‘enum drm_vblank_seq_type’ [-Wenum-conversion]

Just cast to an integer type to silence the warns.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: