aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/drm/drm_atomic.h
diff options
context:
space:
mode:
authorJiri Slaby (SUSE) <jirislaby@kernel.org>2022-10-31 12:44:24 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2022-10-31 14:09:13 +0100
commit3d9d8bba03db21f3276324cdba43c82be5d60729 (patch)
treed38fc2361adf43a8b1e537658418b351845b0d57 /include/drm/drm_atomic.h
parentnet: sched: Fix use after free in red_enqueue() (diff)
downloadwireguard-linux-stable.tar.xz
wireguard-linux-stable.zip
wireguard: timers: cast enum limits members to int in printsHEADstable
Since gcc13, each member of an enum has the same type as the enum. And that is inherited from its members. Provided "REKEY_AFTER_MESSAGES = 1ULL << 60", the named type is unsigned long. This generates warnings with gcc-13: error: format '%d' expects argument of type 'int', but argument 6 has type 'long unsigned int' Cast those particular enum members to int when printing them. Link: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=36113 Cc: Martin Liska <mliska@suse.cz> Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'include/drm/drm_atomic.h')
0 files changed, 0 insertions, 0 deletions