At 11:23 +0100 20/01/01, Hubert Figuiere wrote:

>Lines 266-267 are
>       if 
>(decode_byte(lev+3,off+len+datanr,*result,&pixelnr,temp,bits_per_pixel,
>                   linelen,&linepos,picsize)) {
>
>decodebyte take a int * as a last parameter while picsize is 
>declared as      psiconv_u32.
>
>Basically, this is a type problem, and since there is no guarantee 
>that 'int' be a 32-bits value (it is in the present case, ie PowerPC 
>code, but in 68k it may not be), I think that this should be 
>avoided. What shall I do (instead of a mad wild typecase) ?

I messed up. It is not picsize but pixelnr. But the problem is still the same.


Hub

Reply via email to