Code

Compilation fixes for Windows 64-bit by Fridrich
[inkscape.git] / src / extension / implementation / script.cpp
index 5f1bef8d1afe1013e6189b00df72a2114818aea2..7a558b6fcbe29fd57a91929e06d305c6dc3526c8 100644 (file)
@@ -156,7 +156,7 @@ Script::resolveInterpreterExecutable(const Glib::ustring &interpNameArg)
     char szExePath[MAX_PATH];
     char szCurrentDir[MAX_PATH];
     GetCurrentDirectory(sizeof(szCurrentDir), szCurrentDir);
-    unsigned int ret = (unsigned int)FindExecutable(
+    HINSTANCE ret = (unsigned int)FindExecutable(
                   interpName.c_str(), szCurrentDir, szExePath);
     if (ret > 32) {
         interpName = szExePath;