Commit 53bd6388 authored by Jan Möbius's avatar Jan Möbius
Browse files

Use right cast to silence cppcheck warnings

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@18192 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 83dc5f15
......@@ -6894,7 +6894,7 @@ void MeshCompilerTest_GetInput0(MeshTestData* input_) {
 
input_->fsize_ = raw_fsize0;
input_->fdata_pos = (int*)raw_fdata_pos0;
input_->vdata_pos = reinterpret_cast<float*>(raw_vdata_pos0);
input_->vdata_pos = static_cast<float*>(raw_vdata_pos0);
}
 
 
......@@ -1510,7 +1510,7 @@ void MeshCompilerTest_GetInput1( MeshTestData* input_ ) {
input_->fdata_pos = (int*)raw_fdata_pos1;
input_->fdata_t = (int*)raw_fdata_texc1;
input_->vdata_pos = reinterpret_cast<float*>(raw_vdata_pos1);
input_->vdata_t = reinterpret_cast<float*>(raw_vdata_texc1);
input_->vdata_pos = static_cast<float*>(raw_vdata_pos1);
input_->vdata_t = static_cast<float*>(raw_vdata_texc1);
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment