Code

Really fix the Windows build
authorKrzysztof Kosiński <tweenk.pl@gmail.com>
Sun, 28 Feb 2010 23:06:38 +0000 (00:06 +0100)
committerKrzysztof Kosiński <tweenk.pl@gmail.com>
Sun, 28 Feb 2010 23:06:38 +0000 (00:06 +0100)
src/extension/implementation/script.cpp

index 5eea2d1dbd350dcc5e4bd0065b95418cd341f614..cd25d593a069129d9529ea019bd9347ac5972e14 100644 (file)
@@ -158,7 +158,7 @@ Script::resolveInterpreterExecutable(const Glib::ustring &interpNameArg)
     GetCurrentDirectory(sizeof(szCurrentDir), szCurrentDir);
     HINSTANCE ret = FindExecutable(
                   interpName.c_str(), szCurrentDir, szExePath);
-    if (ret > 32) {
+    if (((unsigned long) ret) > 32) {
         interpName = szExePath;
         return interpName;
     }