1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-25 01:57:47 +01:00

fix some warnings

This commit is contained in:
FunkyFr3sh 2024-12-06 06:21:51 +01:00
parent 3624008099
commit ff9edf3e92

View File

@ -89,10 +89,10 @@ BOOL WINAPI DllMain(HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
if (status == ERROR_SUCCESS) if (status == ERROR_SUCCESS)
{ {
LPCTSTR x264 = "x264vfw.dll"; LPCTSTR x264 = "x264vfw.dll";
RegSetValueExA(hkey,"vidc.x264", 0, REG_SZ, x264, strlen(x264) + 1); RegSetValueExA(hkey,"vidc.x264", 0, REG_SZ, (const BYTE*)x264, strlen(x264) + 1);
LPCTSTR xvid = "xvidvfw.dll"; LPCTSTR xvid = "xvidvfw.dll";
RegSetValueExA(hkey, "vidc.xvid", 0, REG_SZ, xvid, strlen(xvid) + 1); RegSetValueExA(hkey, "vidc.xvid", 0, REG_SZ, (const BYTE*)xvid, strlen(xvid) + 1);
RegCloseKey(hkey); RegCloseKey(hkey);
} }