1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-23 02:38:52 -05:00

Win32: Work around warnings on MSVC 19.32.x

This commit is contained in:
Camilla Löwy 2022-07-08 00:19:03 +02:00
parent 2db528d8cd
commit 84e165ef64

View File

@ -962,7 +962,7 @@ int main(int argc, char** argv)
continue; continue;
re_count++; re_count++;
re = realloc(re, sizeof(char*) * re_count); re = realloc((void*) re, sizeof(char*) * re_count);
re[re_count - 1] = "VK_KHR_portability_enumeration"; re[re_count - 1] = "VK_KHR_portability_enumeration";
portability_enumeration = true; portability_enumeration = true;
} }
@ -999,7 +999,7 @@ int main(int argc, char** argv)
exit(EXIT_FAILURE); exit(EXIT_FAILURE);
} }
free(re); free((void*) re);
gladLoadVulkanUserPtr(NULL, (GLADuserptrloadfunc) glfwGetInstanceProcAddress, instance); gladLoadVulkanUserPtr(NULL, (GLADuserptrloadfunc) glfwGetInstanceProcAddress, instance);