diff options
author | midipix <writeonce@midipix.org> | 2017-12-06 18:06:41 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2017-12-06 18:06:41 -0500 |
commit | 767992c825b06fb8fb4bee25efb78f572ce3aeb3 (patch) | |
tree | 1f29bb79b40c891059c8b41d93883abe31dc66fb /src | |
parent | 4c5509460e635832426b71cefe419146024559e1 (diff) | |
download | ntapi-767992c825b06fb8fb4bee25efb78f572ce3aeb3.tar.bz2 ntapi-767992c825b06fb8fb4bee25efb78f572ce3aeb3.tar.xz |
__ntapi_tt_get_csr_port_handle_addr_by_logic_x86_64(): added missing braces.
Diffstat (limited to 'src')
-rw-r--r-- | src/system/ntapi_tt_get_csr_port_handle_addr_by_logic.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/system/ntapi_tt_get_csr_port_handle_addr_by_logic.c b/src/system/ntapi_tt_get_csr_port_handle_addr_by_logic.c index 827bbb4..bccdd7a 100644 --- a/src/system/ntapi_tt_get_csr_port_handle_addr_by_logic.c +++ b/src/system/ntapi_tt_get_csr_port_handle_addr_by_logic.c @@ -177,7 +177,7 @@ void ** __ntapi_tt_get_csr_port_handle_addr_by_logic_x86_64(void) if ((ptr_move_rcx_rel->__move == 0x48) && (ptr_move_rcx_rel->__rcx == 0x8b) && - (ptr_move_rcx_rel->__relative == 0x0d)) + (ptr_move_rcx_rel->__relative == 0x0d)) { /* bingo */ /* make our type-punned tyrant compiler happy */ prelative = (int32_t *)&(ptr_move_rcx_rel->__arg_32_relative); @@ -187,6 +187,7 @@ void ** __ntapi_tt_get_csr_port_handle_addr_by_logic_x86_64(void) return (void **)( (uintptr_t)&ptr_move_rcx_rel->__opcode_next_any + relative); + } } } } |