fix compiler exception

This commit is contained in:
Cristy
2026-01-29 21:38:04 -05:00
parent a2acad80ce
commit be29d5c3ae
+1 -1
View File
@@ -304,7 +304,7 @@ static inline char *realpath_utf8(const char *path)
length=MultiByteToWideChar(CP_UTF8,0,path,-1,NULL,0);
if (length <= 0)
return((char *) NULL);
wide_path=(wchar_t *) AcquireQuantumMeory(length,sizeof(wchar_t));
wide_path=(wchar_t *) AcquireQuantumMemory(length,sizeof(wchar_t));
if (wide_path == (wchar_t *) NULL)
return((char *) NULL);
MultiByteToWideChar(CP_UTF8,0,path,-1,wide_path,length);