Skip to content

Commit f1c2472

Browse files
authored
Change GetTempPath2A to GetTempPathA (#488)
1 parent 98d6df0 commit f1c2472

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cobj/cobj.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1359,7 +1359,7 @@ static char *cobc_temp_name(const char *ext) {
13591359
#ifdef _WIN32
13601360
char temp[MAX_PATH];
13611361

1362-
GetTempPath2A(MAX_PATH, temp);
1362+
GetTempPathA(MAX_PATH, temp);
13631363
GetTempFileNameA(temp, "cob", 0, buff);
13641364
DeleteFile(buff);
13651365
strcpy(buff + strlen(buff) - 4, ext); /* replace ".tmp" by EXT */

0 commit comments

Comments
 (0)