about summary refs log tree commit diff stats
path: root/src/include/box64context.h
diff options
context:
space:
mode:
authorrajdakin <rajdakin@gmail.com>2021-04-12 00:53:14 +0200
committerrajdakin <rajdakin@gmail.com>2021-04-14 13:11:51 +0200
commit48d61351061dcf1ee3148c67d208f20bdf22a3b8 (patch)
tree9859835d868d88cd8e151e0efd8308ac93581190 /src/include/box64context.h
parent0d38b1cd91d4265042396d3d1dbacac2e662ba00 (diff)
downloadbox64-48d61351061dcf1ee3148c67d208f20bdf22a3b8.tar.gz
box64-48d61351061dcf1ee3148c67d208f20bdf22a3b8.zip
First pass
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;