Re: [fpc-pascal] Code works on Linux x64 but not on Linux x86

2012-02-07 Thread Sven Barth
On 07.02.2012 17:12, Reinier Olislagers wrote: I have the following code, adapted from pasbzip.pas (bzip2 example) uses ...bzip2.. const BufferSize = 4096; var infile, outfile: Tbufstream; decoder: Tbzip2_decode_stream; a: array[1..BufferSize] of byte; readsize: cardinal; Statu

[fpc-pascal] Code works on Linux x64 but not on Linux x86

2012-02-07 Thread Reinier Olislagers
I have the following code, adapted from pasbzip.pas (bzip2 example) uses ...bzip2.. const BufferSize = 4096; var infile, outfile: Tbufstream; decoder: Tbzip2_decode_stream; a: array[1..BufferSize] of byte; readsize: cardinal; Status: boolean; begin Status := False; result:=false; .