Skip to content

Commit 40b0c35

Browse files
authored
Return char* instead of int (#914)
Co-authored-by: minhqdao <[email protected]>
1 parent b5f033d commit 40b0c35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/fpm_os.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/// @param resolved_path
66
/// @param maxLength
77
/// @return
8-
int c_realpath(char* path, char* resolved_path, int maxLength) {
8+
char* c_realpath(char* path, char* resolved_path, int maxLength) {
99
// Checking macro in C because it doesn't work with gfortran on Windows, even
1010
// when exported manually.
1111
#ifndef _WIN32

0 commit comments

Comments
 (0)