소스 검색

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

Yan 3 년 전
부모
커밋
09725dd3b9
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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
 }