Explorar o código

Windows: Fix compile error: cast from 'HINSTANCE' to 'int' loses precision

Yan %!s(int64=3) %!d(string=hai) anos
pai
achega
09725dd3b9
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/modules/system/System.cpp

+ 1 - 1
src/modules/system/System.cpp

@@ -164,7 +164,7 @@ bool System::openURL(const std::string &url) const
 
 #endif
 
-	return (int) result > 32;
+	return (ptrdiff_t) result > 32;
 
 #endif
 }