mirror of
https://github.com/ImageMagick/ImageMagick.git
synced 2026-05-31 11:18:42 +02:00
fix compiler exception
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user