about summary refs log tree commit diff stats
path: root/src/include/box64context.h
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-04-14 14:54:30 +0200
committerGitHub <noreply@github.com>2021-04-14 14:54:30 +0200
commit6f217d78da0a49b3f3cf99443cfa95a9a6507303 (patch)
tree8d790b143339b5b910594dd919754622b0885d40 /src/include/box64context.h
parent0d38b1cd91d4265042396d3d1dbacac2e662ba00 (diff)
parentcdf71c4cbc8c07510708cb7396cd1035300f587f (diff)
downloadbox64-6f217d78da0a49b3f3cf99443cfa95a9a6507303.tar.gz
box64-6f217d78da0a49b3f3cf99443cfa95a9a6507303.zip
Merge pull request #10 from rajdakin/warnFixRefactor
Warnings and fixes
Diffstat (limited to 'src/include/box64context.h')
-rwxr-xr-xsrc/include/box64context.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/include/box64context.h b/src/include/box64context.h
index 1b215378..d5e8b82d 100755
--- a/src/include/box64context.h
+++ b/src/include/box64context.h
@@ -82,8 +82,8 @@ typedef struct box64context_s {
     char*               fullpath;
     char*               box64path;      // path of current box64 executable
 
-    uint32_t            stacksz;
-    int                 stackalign;
+    uint64_t            stacksz;
+    size_t              stackalign;
     void*               stack;          // alocated stack
 
     elfheader_t         **elfs;         // elf headers and memory
@@ -152,7 +152,7 @@ typedef struct box64context_s {
 
     pthread_key_t       tlskey;     // then tls key to have actual tlsdata
     void*               tlsdata;    // the initial global tlsdata
-    int32_t             tlssize;    // wanted size of tlsdata
+    int64_t             tlssize;    // wanted size of tlsdata
     base_segment_t      segtls[3];  // only handling 0/1/2 descriptors
 
     uintptr_t           *auxval_start;