Skip to content

Commit 6c20f80

Browse files
jalveszjvdp1
andauthored
Update src/stdlib_str2num.fypp
Co-authored-by: Jeremie Vandenplas <[email protected]>
1 parent 57c3e19 commit 6c20f80

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
@@ -118,8 +118,8 @@ module stdlib_str2num
118118
real(sp), intent(in) :: mold !> dummy argument to disambiguate at compile time the generic interface
119119
real(sp) :: r !> Output real value
120120
! -- Internal Variables
121-
integer(1) :: p !> position within the number
122-
integer(1) :: stat ! error status
121+
integer(int8) :: p !> position within the number
122+
integer(int8) :: stat ! error status
123123
!----------------------------------------------
124124
call to_num_base(s,r,p,stat)
125125
end function

0 commit comments

Comments
 (0)