Browse Source

Merge pull request #1787 from ylme/fix-compile-error

Windows: Fix compile error loses precision
Alex Szpakowski 3 years ago
parent
commit
c35356c841
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
 #endif
 
 
-	return (int) result > 32;
+	return (ptrdiff_t) result > 32;
 
 
 #endif
 #endif
 }
 }