Explorar el Código

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

Yan hace 3 años
padre
commit
09725dd3b9
Se han modificado 1 ficheros con 1 adiciones y 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
 }