]> www.ginac.de Git - cln.git/commitdiff
64-bit mingw port: Use intptr_t, not long, to guarantee alignment.
authorRobert Szalai <robicjedi@gmail.com>
Sun, 27 Oct 2019 18:47:01 +0000 (19:47 +0100)
committerBruno Haible <bruno@clisp.org>
Sun, 27 Oct 2019 18:47:01 +0000 (19:47 +0100)
src/base/cl_alloca.h

index e7afe93292c68609e34e031fd9f9994c8f1d1cc9..9f790a0a0cf3315f278b4b99108457c2bc83d8af 100644 (file)
@@ -42,7 +42,7 @@ namespace cln {
 
 struct cl_alloca_header {
        cl_alloca_header* next;
-       long usable_memory[1]; // "long" guarantees alignment
+       intptr_t usable_memory[1]; // "intptr_t" guarantees alignment
 };
 
 extern cl_alloca_header* cl_alloc_alloca_header (size_t size);