Skip to content

Commit

Permalink
set explicit out and expand type
Browse files Browse the repository at this point in the history
  • Loading branch information
mahf708 authored Jun 3, 2024
1 parent d0adfce commit 7a7333d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/eamxx/src/physics/p3/p3_iso_c.f90
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ module p3_iso_c
contains
subroutine append_precision(string, prefix)

character(kind=c_char, len=256), intent(inout) :: string
character(*), intent(in) :: prefix
character(kind=c_char, len=256), intent(out) :: string
character(kind=c_char, len=*), intent(in) :: prefix
real(kind=c_real) :: s

write (string, '(a,i1,a1)') prefix, sizeof(s), C_NULL_CHAR
Expand Down

0 comments on commit 7a7333d

Please sign in to comment.