Skip to content

Commit 439a72f

Browse files
committed
fixed a few more int kind issues.
1 parent 5a80c57 commit 439a72f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/json_value_module.F90

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5521,7 +5521,7 @@ recursive subroutine json_value_print(json,p,iunit,str,indent,&
55215521

55225522
! [one fewer tab if it isn't an array element]
55235523
if (.not. is_array) then
5524-
s = repeat(space, max(0,spaces-json%spaces_per_tab))//end_object
5524+
s = repeat(space, max(0_IK,spaces-json%spaces_per_tab))//end_object
55255525
else
55265526
s = s_indent//end_object
55275527
end if
@@ -5592,7 +5592,7 @@ recursive subroutine json_value_print(json,p,iunit,str,indent,&
55925592

55935593
! recursive print of the element
55945594
if (is_vector) then
5595-
call json%json_value_print(element, iunit=iunit, indent=0,&
5595+
call json%json_value_print(element, iunit=iunit, indent=0_IK,&
55965596
need_comma=i<count, is_array_element=.false., &
55975597
str=str, iloc=iloc,&
55985598
is_compressed_vector = .true.)
@@ -5613,7 +5613,7 @@ recursive subroutine json_value_print(json,p,iunit,str,indent,&
56135613
s = end_array
56145614
call write_it( comma=print_comma )
56155615
else
5616-
s = repeat(space, max(0,spaces-json%spaces_per_tab))//end_array
5616+
s = repeat(space, max(0_IK,spaces-json%spaces_per_tab))//end_array
56175617
call write_it( comma=print_comma )
56185618
end if
56195619
nullify(element)
@@ -8979,7 +8979,7 @@ subroutine annotate_invalid_json(json,iunit,str)
89798979
call integer_to_string(json%char_count, int_fmt, char_str)
89808980

89818981
!draw the arrow string that points to the current character:
8982-
arrow_str = repeat('-',max( 0, json%char_count - 1) )//'^'
8982+
arrow_str = repeat('-',max( 0_IK, json%char_count - 1) )//'^'
89838983

89848984
if (json%line_count>0 .and. json%char_count>0) then
89858985

0 commit comments

Comments
 (0)