[fpc-devel] patch minigzip

Daniël Mantione daniel.mantione at freepascal.org
Thu Sep 7 22:57:26 CEST 2006



Op Thu, 7 Sep 2006, schreef Darius Blaszijk:

> Here's a patch for minigzip. It changes the type of the err variable to
> smallint to make it compile again.

I think I'm going to fix this a different way; the bug is caused by a 
change from fpc to objfpc mode, which caused all integers to become 
suddenly 32 bits.

However, arrays of integers are used a lot in the code, so this 
unnecessarily increases the memory requirements on the paszlib package. 
To undo this all integer usage would need to be converted to smallint.
The best solution is imo to switch it back to fpc mode, as the bug that 
originally resulted in the switch to objfpc mode is no longer there.

Daniël


More information about the fpc-devel mailing list