Skip to content

Commit 67981c3

Browse files
committed
added kind= argument in size(...)
1 parent 461b3a0 commit 67981c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/stdlib_bitsets_large.fypp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ contains
146146

147147
integer(bits_kind) :: nblocks, pos
148148

149-
nblocks = size( self % blocks )
149+
nblocks = size( self % blocks, kind=bits_kind )
150150
bit_count = sum( popcnt( self % blocks(1:nblocks-1) ) )
151151

152152
do pos = 0_bits_kind, self % num_bits - (nblocks-1)*block_size - 1

0 commit comments

Comments
 (0)