Skip to content

Commit 53cb17e

Browse files
jalveszjvdp1
andauthored
Update src/stdlib_str2num.fypp
Co-authored-by: Jeremie Vandenplas <[email protected]>
1 parent c630fd7 commit 53cb17e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/stdlib_str2num.fypp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ module stdlib_str2num
146146
real(dp), intent(in) :: mold !> dummy argument to disambiguate at compile time the generic interface
147147
real(dp) :: r !> Output real value
148148
! -- Internal Variables
149-
integer(1) :: p !> position within the number
150-
integer(1) :: stat ! error status
149+
integer(int8) :: p !> position within the number
150+
integer(int8) :: stat ! error status
151151
!----------------------------------------------
152152
call to_num_base(s,r,p,stat)
153153
end function

0 commit comments

Comments
 (0)