1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-29 19:30:36 +02:00

Fix function bound offsets of JIT data to be signed

* libguile/jit.h (struct scm_jit_function_data): Start and end offsets
  are signed.
This commit is contained in:
Andy Wingo 2018-07-29 11:28:52 +02:00
parent 5c2e155fd7
commit 5077e67371

View file

@ -33,8 +33,8 @@ struct scm_jit_function_data
{
uint8_t *mcode;
uint32_t counter;
uint32_t start;
uint32_t end;
int32_t start;
int32_t end;
#if SCM_SIZEOF_UINTPTR_T == 4
#elif SCM_SIZEOF_UINTPTR_T == 8
uint32_t pad;