--- descramble.c~ Sat Jan 24 18:35:46 2004 +++ descramble.c Sat Jan 24 18:36:20 2004 @@ -97,8 +97,11 @@ int unpackedsize; unsigned char xorstring[32]; - unpackedsize = ((unsigned int*)header)[1]; - length = ((unsigned int*)header)[2]; + unpackedsize = header[4] | header[5] << 8; + unpackedsize |= header[6] << 16 | header[7] << 24; + + length = header[8] | header[9] << 8; + length |= header[10] << 16 | header[11] << 24; /* calculate the xor string used */ for (i=0; i