> Strange, apparently shl/shr are not automatically changed to 64 bit when > compiling for a 64 bit platform. I don't know why that is the case. > > You can force a 64 bit shift by typecasting v to int64.
> At least the person who translated it supposedly knows it. Otherwise, you > have to go back to the Java code and look how it does things. I already talked to him, but he doesn't know it either. So I have to fix it if I want it working... I already translated a lot of Java code, but it is nearly exactly the same as the Pascal code already was and the Decompress keeps failing. I will compile the Java code now, maybe it fails too. (but I don't think so) _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal