[fpc-pascal] minigzip example does not compile (?)

Juha Manninen juha.manninen62 at gmail.com
Tue Apr 1 10:31:07 CEST 2014

On Tue, Apr 1, 2014 at 11:09 AM, Juha Manninen
<juha.manninen62 at gmail.com> wrote:
> Got "LongInt" expected "SmallInt"

I opened the example program in Lazarus for debugging it.
Lazarus project uses mode objfpc by default. Changing 2 variables from
Integer to SmalInt solved the compilation problem.
IMO the type should be corrected as debugging with Lazarus is often a good idea.


More information about the fpc-pascal mailing list