Skip to content

Commit 63a69f3

Browse files
committed
Updated README.
1 parent b1ffb42 commit 63a69f3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,17 +39,16 @@ The following basic example compresses and uncompresses an input string.
3939
```fortran
4040
! example.f90
4141
program main
42-
use, intrinsic :: iso_fortran_env, only: i8 => int64
4342
use :: zlib
4443
implicit none (type, external)
4544
4645
character(len=:), allocatable :: str_in, str_out, str_x
47-
integer(kind=i8) :: sz_in, sz_out, sz_x
46+
integer(kind=z_ulong) :: sz_in, sz_out, sz_x
4847
integer :: rc
4948
5049
! Input.
5150
str_in = repeat('Fortran ', 10)
52-
sz_in = len(str_in, kind=i8)
51+
sz_in = len(str_in, kind=z_ulong)
5352
5453
! Compress.
5554
sz_x = compress_bound(sz_in)

0 commit comments

Comments
 (0)