From d85c442ceedecebb0d08d944cbd7e1bc74766eee Mon Sep 17 00:00:00 2001 From: Jesse Lentz <42011922+J-Lentz@users.noreply.github.com> Date: Tue, 10 Sep 2024 09:18:18 -0400 Subject: [PATCH] fix: correct error code type for `yaml_parser_mod` c binding (#1580) --- parser/yaml_parser.F90 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser/yaml_parser.F90 b/parser/yaml_parser.F90 index 3a3c7f005..a34c5d4e2 100644 --- a/parser/yaml_parser.F90 +++ b/parser/yaml_parser.F90 @@ -76,7 +76,7 @@ function open_and_parse_file_wrap(filename, file_id) bind(c) & use iso_c_binding, only: c_char, c_int, c_bool character(kind=c_char), intent(in) :: filename(*) !< Filename of the yaml file integer(kind=c_int), intent(out) :: file_id !< File id corresponding to the yaml file that was opened - logical(kind=c_int) :: error_code !< Flag indicating the error message (1 if sucessful) + integer(kind=c_int) :: error_code !< Flag indicating the error message (1 if sucessful) end function open_and_parse_file_wrap !> @brief Private c function that checks if a file_id is valid (see yaml_parser_binding.c)