Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/minhook.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTsuda Kageyu <tsuda.kageyu@gmail.com>2015-08-27 18:01:58 +0300
committerTsuda Kageyu <tsuda.kageyu@gmail.com>2015-08-27 18:01:58 +0300
commit097ac627edb516fd148f1574f37e7fb73d5e36f7 (patch)
tree15abfd91997c0813e41dba76be54fc1a4053a28c
parenta99f045ce58861d391ae592545834443f16eb96e (diff)
Widen a bit field to ignore its sign.
-rw-r--r--src/hook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hook.c b/src/hook.c
index 0b58897..ca06216 100644
--- a/src/hook.c
+++ b/src/hook.c
@@ -71,7 +71,7 @@ typedef struct _HOOK_ENTRY
BOOL isEnabled : 1; // Enabled.
BOOL queueEnable : 1; // Queued for enabling/disabling when != isEnabled.
- UINT nIP : 3; // Count of the instruction boundaries.
+ UINT nIP : 4; // Count of the instruction boundaries.
UINT8 oldIPs[8]; // Instruction boundaries of the target function.
UINT8 newIPs[8]; // Instruction boundaries of the trampoline function.
} HOOK_ENTRY, *PHOOK_ENTRY;