소스 검색

One more compile fix, works now fine on Windows.

DjWarmonger 12 년 전
부모
커밋
d8594576e2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      client/CVideoHandler.cpp

+ 1 - 1
client/CVideoHandler.cpp

@@ -425,7 +425,7 @@ bool CVideoPlayer::open(std::string name)
 
 			std::ofstream out(name, std::ofstream::binary);
 			out.exceptions(std::ifstream::failbit | std::ifstream::badbit);
-			out.write(data.first.get(), data.second);
+			out.write(reinterpret_cast<char*>(data.first.get()), data.second);
 		}
 
 		current->open(name);