mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Windows: Fix compile error: cast from 'HINSTANCE' to 'int' loses precision
This commit is contained in:
@@ -164,7 +164,7 @@ bool System::openURL(const std::string &url) const
|
||||
|
||||
#endif
|
||||
|
||||
return (int) result > 32;
|
||||
return (ptrdiff_t) result > 32;
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user