Browse Source

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

Yan 3 years ago
parent
commit
09725dd3b9
1 changed files with 1 additions and 1 deletions
  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
 }