From: Krzysztof KosiƄski Date: Sun, 28 Feb 2010 22:44:03 +0000 (+0100) Subject: Fix Windows compile fail after 9118 (oops) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=cc4f37afb9b814581cc7710431088da90acdf637;p=inkscape.git Fix Windows compile fail after 9118 (oops) --- diff --git a/src/extension/implementation/script.cpp b/src/extension/implementation/script.cpp index 7a558b6fc..5eea2d1db 100644 --- a/src/extension/implementation/script.cpp +++ b/src/extension/implementation/script.cpp @@ -156,7 +156,7 @@ Script::resolveInterpreterExecutable(const Glib::ustring &interpNameArg) char szExePath[MAX_PATH]; char szCurrentDir[MAX_PATH]; GetCurrentDirectory(sizeof(szCurrentDir), szCurrentDir); - HINSTANCE ret = (unsigned int)FindExecutable( + HINSTANCE ret = FindExecutable( interpName.c_str(), szCurrentDir, szExePath); if (ret > 32) { interpName = szExePath;