From bba30b36371036fadd6d8a40e7c7ff85b2661fe5 Mon Sep 17 00:00:00 2001 From: Nikita Ushakov Date: Thu, 29 Feb 2024 20:33:57 +0000 Subject: [PATCH] make return type int 32 --- include/dynohook/ihook.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/dynohook/ihook.h b/include/dynohook/ihook.h index 998024a..346539f 100644 --- a/include/dynohook/ihook.h +++ b/include/dynohook/ihook.h @@ -20,7 +20,7 @@ namespace dyno { Post // callback will be executed after the original function }; - enum class ReturnAction : int8_t { + enum class ReturnAction : int32_t { Ignored, // handler didn't take any action Handled, // we did something, but real function should still be called Override, // call real function, but use my return value