Hmm, try changing line 326 from double val; to float val;
Ok, I realised I reformated the code and I might have changed the lines...here is the code
Code:
float readFloat(const LWLoadState *lState)
{
if (lState->ioMode == LWIO_OBJECT) {
float val;
(*lState->read) (lState->readData, (char *) &val, 4);
BSWAP_L(val);
return val;
} else {
char buf[50];
float val;
(*lState->read) (lState->readData, buf, 50);
sscanf (buf, "%f", &val);
return (float) val;
}
}
change is marked red.