diff options
author | Zeex <zeex@rocketmail.com> | 2018-09-06 23:17:30 +0600 |
---|---|---|
committer | Zeex <zeex@rocketmail.com> | 2018-09-06 23:17:30 +0600 |
commit | 753673f7f71ccd285d90d725996e0e4dea3c51ce (patch) | |
tree | 733f9441481b06bde7fca076438901eafd5157ce /subhook_x86.c | |
parent | 221648a4f9dde4fc84bb373061809cc435f1aa0b (diff) | |
download | subhook-753673f7f71ccd285d90d725996e0e4dea3c51ce.zip subhook-753673f7f71ccd285d90d725996e0e4dea3c51ce.tar.gz subhook-753673f7f71ccd285d90d725996e0e4dea3c51ce.tar.bz2 |
Fix missing return statement in 64-bit build
Diffstat (limited to 'subhook_x86.c')
-rw-r--r-- | subhook_x86.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subhook_x86.c b/subhook_x86.c index 0e6d925..909e900 100644 --- a/subhook_x86.c +++ b/subhook_x86.c @@ -272,8 +272,8 @@ static size_t subhook_get_jmp_size(subhook_options_t options) { } #else (void)options; - return sizeof(struct subhook_jmp32); #endif + return sizeof(struct subhook_jmp32); } static int subhook_make_jmp32(void *src, void *dst) { @@ -325,8 +325,8 @@ static int subhook_make_jmp(void *src, } #else (void)options; - return subhook_make_jmp32(src, dst); #endif + return subhook_make_jmp32(src, dst); } static int subhook_make_trampoline(void *trampoline, |