Skip to content

Commit 0b29118

Browse files
spectraliomadler
authored andcommitted
Fix Ada bindings on x64.
1 parent c715ad7 commit 0b29118

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

contrib/ada/zlib-thin.adb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ package body ZLib.Thin is
1212

1313
ZLIB_VERSION : constant Chars_Ptr := zlibVersion;
1414

15-
Z_Stream_Size : constant Int := Z_Stream'Size / System.Storage_Unit;
15+
Dummy : Z_Stream;
16+
Z_Stream_Size : constant Int := Dummy'Size / System.Storage_Unit;
1617

1718
--------------
1819
-- Avail_In --

0 commit comments

Comments
 (0)