some malloc()

This commit is contained in:
nhmall
2026-05-11 11:33:15 -04:00
parent a5a4bc6b4a
commit b4f28edfe4
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -677,7 +677,7 @@ BOOL winos_font_support_cp437(HFONT hFont)
DWORD size = (size_t) GetFontUnicodeRanges(hdc, NULL);
if (size) {
GLYPHSET *glyphSet = (GLYPHSET *) malloc((size_t) size);
GLYPHSET *glyphSet = (GLYPHSET *) alloc((size_t) size);
if (glyphSet != NULL) {
#ifdef _MSC_VER
#pragma warning( push )