diff options
author | Tsuda Kageyu <tsuda.kageyu@gmail.com> | 2016-03-31 08:15:23 +0300 |
---|---|---|
committer | Tsuda Kageyu <tsuda.kageyu@gmail.com> | 2016-03-31 08:15:23 +0300 |
commit | fbc2266a06eecf2cd63588e18b35ff4a51e386ff (patch) | |
tree | e05734da411b59b3ade2ae91d1093ed693f1e8a1 | |
parent | f0b7ccd80dc01138220ce2f3ea79d3ee7d5c7f52 (diff) | |
parent | 9411e40defabbaeb60ff3e9bfeae0dd513ca1d0f (diff) |
Merge pull request #29 from berserkovich/master
Make bitfield int values explicitly unsigned
-rw-r--r-- | src/hook.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -67,9 +67,9 @@ typedef struct _HOOK_ENTRY LPVOID pTrampoline; // Address of the trampoline function. UINT8 backup[8]; // Original prologue of the target function. - BOOL patchAbove : 1; // Uses the hot patch area. - BOOL isEnabled : 1; // Enabled. - BOOL queueEnable : 1; // Queued for enabling/disabling when != isEnabled. + UINT8 patchAbove : 1; // Uses the hot patch area. + UINT8 isEnabled : 1; // Enabled. + UINT8 queueEnable : 1; // Queued for enabling/disabling when != isEnabled. UINT nIP : 4; // Count of the instruction boundaries. UINT8 oldIPs[8]; // Instruction boundaries of the target function. |