session: make sure we cannot pass wrong IO event type 63/42363/3
authorBenoît Ganne <[email protected]>
Thu, 13 Feb 2025 15:19:59 +0000 (16:19 +0100)
committerBenoît Ganne <[email protected]>
Thu, 13 Feb 2025 16:56:31 +0000 (17:56 +0100)
commitc06242e5f0bbd56e2f9dc5fba699c01155fcb532
tree5f80bf32a8b0e182710ed6987a1a080171fa4c5b
parentb7a00271990b67458afd2e660f92ebf3ebb6f887
session: make sure we cannot pass wrong IO event type

GCC 11 complains about potential cast from u32 to session_t.

Type: fix

Change-Id: Id777e339c40e0ea3c3c8b2b0800acf7cd7a4ced3
Signed-off-by: Benoît Ganne <[email protected]>
src/vnet/session/session.c