From 014875c3d3d1e86575e92b995cf6e46c0bebd34d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 27 Jul 2020 05:07:44 +0200 Subject: [PATCH] Ensure size of msg_hash_enums is big enough for now --- msg_hash.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/msg_hash.h b/msg_hash.h index 13024c43e7..29cbd9ec81 100644 --- a/msg_hash.h +++ b/msg_hash.h @@ -20,6 +20,7 @@ #include #include +#include #include #include @@ -2944,7 +2945,10 @@ enum msg_hash_enums MSG_MANUAL_CONTENT_SCAN_M3U_CLEANUP, MSG_MANUAL_CONTENT_SCAN_END, - MSG_LAST + MSG_LAST, + + /* Ensure sizeof(enum) == sizeof(int) */ + MSG_DUMMY = INT_MAX }; /* Callback strings */