@@ -6002,7 +6002,7 @@ recursive subroutine json_value_print(json,p,iunit,str,indent,&
6002
6002
6003
6003
! [one fewer tab if it isn't an array element]
6004
6004
if (.not. is_array) then
6005
- s = repeat (space, max (0 ,spaces- json% spaces_per_tab))// end_object
6005
+ s = repeat (space, max (0_IK ,spaces- json% spaces_per_tab))// end_object
6006
6006
else
6007
6007
s = s_indent// end_object
6008
6008
end if
@@ -6073,7 +6073,7 @@ recursive subroutine json_value_print(json,p,iunit,str,indent,&
6073
6073
6074
6074
! recursive print of the element
6075
6075
if (is_vector) then
6076
- call json% json_value_print(element, iunit= iunit, indent= 0 ,&
6076
+ call json% json_value_print(element, iunit= iunit, indent= 0_IK ,&
6077
6077
need_comma= i< count, is_array_element= .false. , &
6078
6078
str= str, iloc= iloc,&
6079
6079
is_compressed_vector = .true. )
@@ -6094,7 +6094,7 @@ recursive subroutine json_value_print(json,p,iunit,str,indent,&
6094
6094
s = end_array
6095
6095
call write_it( comma= print_comma )
6096
6096
else
6097
- s = repeat (space, max (0 ,spaces- json% spaces_per_tab))// end_array
6097
+ s = repeat (space, max (0_IK ,spaces- json% spaces_per_tab))// end_array
6098
6098
call write_it( comma= print_comma )
6099
6099
end if
6100
6100
nullify(element)
@@ -9708,7 +9708,7 @@ subroutine annotate_invalid_json(json,iunit,str)
9708
9708
call integer_to_string(json% char_count, int_fmt, char_str)
9709
9709
9710
9710
! draw the arrow string that points to the current character:
9711
- arrow_str = repeat (' -' ,max ( 0 , json% char_count - 1 ) )// ' ^'
9711
+ arrow_str = repeat (' -' ,max ( 0_IK , json% char_count - 1 ) )// ' ^'
9712
9712
9713
9713
if (json% line_count> 0 .and. json% char_count> 0 ) then
9714
9714
0 commit comments