[host] compile NvFBC on mingw

This commit is contained in:
arcnmx
2017-12-16 13:19:34 -05:00
committed by Geoffrey McRae
parent 3784e9c06f
commit e6c6c16d56
3 changed files with 13 additions and 7 deletions

View File

@@ -65,7 +65,7 @@ bool NvFBC::Initialize(CaptureOptions * options)
m_hDLL = LoadLibraryA(nvfbc.c_str());
if (!m_hDLL)
{
DEBUG_ERROR("Failed to load the NvFBC library: %d - %s", GetLastError(), nvfbc.c_str());
DEBUG_ERROR("Failed to load the NvFBC library: %d - %s", (int)GetLastError(), nvfbc.c_str());
return false;
}