Some accuracy-related things for Back.cpp
This commit is contained in:
parent
f8d4ae7014
commit
08de04bad7
1 changed files with 2 additions and 2 deletions
|
@ -38,8 +38,8 @@ BOOL InitBack(const char *fName, int type)
|
||||||
// This is ridiculously platform-dependant:
|
// This is ridiculously platform-dependant:
|
||||||
// It should break on big-endian CPUs, and platforms
|
// It should break on big-endian CPUs, and platforms
|
||||||
// where short isn't 16-bit and long isn't 32-bit.
|
// where short isn't 16-bit and long isn't 32-bit.
|
||||||
short bmp_header_buffer[7];
|
unsigned short bmp_header_buffer[7]; // These names aren't the original. This ruins the stack frame layout.
|
||||||
long bmp_header_buffer2[10];
|
unsigned long bmp_header_buffer2[10];
|
||||||
|
|
||||||
fread(bmp_header_buffer, 14, 1, fp);
|
fread(bmp_header_buffer, 14, 1, fp);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue