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

This commit is contained in:
Yan
2022-03-13 00:26:04 +08:00
parent 0d74419259
commit 09725dd3b9
+1 -1
View File
@@ -164,7 +164,7 @@ bool System::openURL(const std::string &url) const
#endif
return (int) result > 32;
return (ptrdiff_t) result > 32;
#endif
}