We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1ffb42 commit 63a69f3Copy full SHA for 63a69f3
README.md
@@ -39,17 +39,16 @@ The following basic example compresses and uncompresses an input string.
39
```fortran
40
! example.f90
41
program main
42
- use, intrinsic :: iso_fortran_env, only: i8 => int64
43
use :: zlib
44
implicit none (type, external)
45
46
character(len=:), allocatable :: str_in, str_out, str_x
47
- integer(kind=i8) :: sz_in, sz_out, sz_x
+ integer(kind=z_ulong) :: sz_in, sz_out, sz_x
48
integer :: rc
49
50
! Input.
51
str_in = repeat('Fortran ', 10)
52
- sz_in = len(str_in, kind=i8)
+ sz_in = len(str_in, kind=z_ulong)
53
54
! Compress.
55
sz_x = compress_bound(sz_in)
0 commit comments