This commit is contained in:
Robin Mills 2018-11-28 12:15:13 +00:00 committed by Luis Díaz Más
parent 9cb6c1e4c9
commit 108509a089

View File

@ -465,7 +465,7 @@ namespace Exiv2 {
std::string ret("unknown");
#if defined(WIN32)
TCHAR filename[MAX_PATH];
if ( GetModuleFileName( "", filename, MAX_PATH ) != 0 ) {
if ( GetModuleFileName( (HMODULE)"", filename, MAX_PATH ) != 0 ) {
ret = filename;
}
#elif defined(__APPLE__)