From 43453a96ea223fd8b22613d6799880505a45a2a9 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 27 Oct 2019 19:46:57 +0100 Subject: [PATCH] 64-bit mingw port: Define intV in terms of intP. --- include/cln/types.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/include/cln/types.h b/include/cln/types.h index dc98bdd..852cb45 100644 --- a/include/cln/types.h +++ b/include/cln/types.h @@ -108,9 +108,11 @@ typedef uintptr_t uintP; // Integer type used for the value of a fixnum. - #define intVsize long_bitsize - typedef long sintV; - typedef unsigned long uintV; + // It must be like this, because in a couple of places we assume + // cl_value_shift + cl_value_len == cl_pointer_size. + #define intVsize intPsize + typedef sintP sintV; + typedef uintP uintV; // Numbers in the heap are stored as "digit" sequences. // A digit is an unsigned int with intDsize bits. -- 2.45.0