diff options
author | Tsuda Kageyu <tsuda.kageyu@gmail.com> | 2015-08-27 18:01:58 +0300 |
---|---|---|
committer | Tsuda Kageyu <tsuda.kageyu@gmail.com> | 2015-08-27 18:01:58 +0300 |
commit | 097ac627edb516fd148f1574f37e7fb73d5e36f7 (patch) | |
tree | 15abfd91997c0813e41dba76be54fc1a4053a28c | |
parent | a99f045ce58861d391ae592545834443f16eb96e (diff) |
Widen a bit field to ignore its sign.
-rw-r--r-- | src/hook.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |