Skip to content

Commit

Permalink
Update src/stdlib_str2num.f90
Browse files Browse the repository at this point in the history
Co-authored-by: Jeremie Vandenplas <[email protected]>
  • Loading branch information
jalvesz and jvdp1 authored Dec 26, 2023
1 parent 2320766 commit 318e4ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/stdlib_str2num.f90
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,10 @@ elemental subroutine to_int_32(s,v,p,stat)
! -- In/out Variables
character(*), intent(in) :: s !> input string
integer, intent(inout) :: v !> Output real value
integer(1), intent(out) :: p !> position within the number
integer(1), intent(out) :: stat !> status upon succes or failure to read
integer(int8), intent(out) :: p !> position within the number
integer(int8), intent(out) :: stat !> status upon succes or failure to read
! -- Internal Variables
integer(1) :: val
integer(int8) :: val
!----------------------------------------------
stat = 23 !> initialize error status with any number > 0
!----------------------------------------------
Expand Down

0 comments on commit 318e4ac

Please sign in to comment.