Commit b293e0b1 authored by Christian Schulte zu Berge's avatar Christian Schulte zu Berge
Browse files

Fixed GCC build due to wrong cast.

(Apparently, I really need some rest...)
parent 88b5564f
......@@ -309,7 +309,7 @@ namespace campvis {
fileIO->Read(inputBuf);
double* dptr = inputBuf;
float* fptr = static_cast<float*>(sliceBuffer);
float* fptr = reinterpret_cast<float*>(sliceBuffer);
for (int i = 0, s = fileIO->GetImageSizeInComponents(); i < s; ++i) {
*fptr = static_cast<float>(*dptr);
fptr++;
......
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