From 0b29118367551a44612a725970f7f6ff258cab06 Mon Sep 17 00:00:00 2001 From: spectralio <63775040+spectralio@users.noreply.github.com> Date: Wed, 5 Feb 2025 13:01:28 +0100 Subject: Fix Ada bindings on x64. --- contrib/ada/zlib-thin.adb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'contrib') diff --git a/contrib/ada/zlib-thin.adb b/contrib/ada/zlib-thin.adb index 0ca4a71..b28f922 100644 --- a/contrib/ada/zlib-thin.adb +++ b/contrib/ada/zlib-thin.adb @@ -12,7 +12,8 @@ package body ZLib.Thin is ZLIB_VERSION : constant Chars_Ptr := zlibVersion; - Z_Stream_Size : constant Int := Z_Stream'Size / System.Storage_Unit; + Dummy : Z_Stream; + Z_Stream_Size : constant Int := Dummy'Size / System.Storage_Unit; -------------- -- Avail_In -- -- cgit v1.2.3-55-g6feb