mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 08:09:39 +00:00
small unsigned/signed char mismatch detected by clang...
This commit is contained in:
parent
1e1cf8f32d
commit
3ae4e3cc17
@ -683,7 +683,7 @@ float readBigEndianSingle(QIODevice *device, bool &error)
|
||||
if(error)
|
||||
return -1;
|
||||
}
|
||||
char reversed[] = { bytes[3],bytes[2],bytes[1],bytes[0] };
|
||||
unsigned char reversed[] = { bytes[3],bytes[2],bytes[1],bytes[0] };
|
||||
|
||||
float *f = (float *)(& reversed[0]);
|
||||
return*f;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user