Code

Fix Windows compile fail after 9118 (oops)
authorKrzysztof Kosiński <tweenk.pl@gmail.com>
Sun, 28 Feb 2010 22:44:03 +0000 (23:44 +0100)
committerKrzysztof Kosiński <tweenk.pl@gmail.com>
Sun, 28 Feb 2010 22:44:03 +0000 (23:44 +0100)
src/extension/implementation/script.cpp

index 7a558b6fcbe29fd57a91929e06d305c6dc3526c8..5eea2d1dbd350dcc5e4bd0065b95418cd341f614 100644 (file)
@@ -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;