Skip to content

Commit ea7b0c7

Browse files
committed
Use deferred type parameter
1 parent c020044 commit ea7b0c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fpm_os.F90

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ subroutine get_absolute_path_by_cd(path, absolute_path, error)
246246

247247
!> Converts a path to an absolute, canonical path.
248248
subroutine convert_to_absolute_path(path, error)
249-
character(len=*), intent(inout) :: path
249+
character(len=:), allocatable, intent(inout) :: path
250250
type(error_t), allocatable, intent(out) :: error
251251

252252
character(len=:), allocatable :: absolute_path

0 commit comments

Comments
 (0)