about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-08-02 21:00:38 +0200
committerGitHub <noreply@github.com>2023-08-02 21:00:38 +0200
commit1333e37b71c9d3e30b89cd957a1263b1989491b8 (patch)
treed9a47ac183ce0a37635c438be0a8ee06f6655e4d /src
parent3eae7156dcf029b1660cab720e18efd6dfae79bd (diff)
parentff3a639c92e14209dc94e6c80db6947bfc4bd482 (diff)
downloadbox64-1333e37b71c9d3e30b89cd957a1263b1989491b8.tar.gz
box64-1333e37b71c9d3e30b89cd957a1263b1989491b8.zip
Merge pull request #919 from AndreRH/curlybrackets
Add missing curly brackets
Diffstat (limited to 'src')
-rw-r--r--src/custommem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/custommem.c b/src/custommem.c
index d2b752c0..a92f9831 100644
--- a/src/custommem.c
+++ b/src/custommem.c
@@ -1463,7 +1463,7 @@ void init_custommem_helper(box64context_t* ctx)
         memprot[i].prot = memprot_default;
     init_mutexes();
 #ifdef DYNAREC
-    if(box64_dynarec)
+    if(box64_dynarec) {
         for(int i=0; i<(1<<JMPTABL_SHIFT3); ++i)
             box64_jmptbl3[i] = box64_jmptbldefault2;
         for(int i=0; i<(1<<JMPTABL_SHIFT2); ++i)
@@ -1472,6 +1472,7 @@ void init_custommem_helper(box64context_t* ctx)
             box64_jmptbldefault1[i] = box64_jmptbldefault0;
         for(int i=0; i<(1<<JMPTABL_SHIFT0); ++i)
             box64_jmptbldefault0[i] = (uintptr_t)native_next;
+    }
     lockaddress = kh_init(lockaddress);
 #endif
     pthread_atfork(NULL, NULL, atfork_child_custommem);