Dave Coventry schrieb:
Can I assume that you hadn't noticed that compr_len   =
*((int32_t*)&data[24]); was a 32 bit integer?

Right, such errors suggest the use of translation tools instead of manual translation.

Is there such a thing as pint32? (Google suggests that a pint is 32 half-ounces)

;-)

compr_len:=pint64(@data[24])^;

int32_t* is definitely a pointer to an 32 bit signed integer. You can create this type yourself, if it doesn't exist.

DoDi


--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to