Hi Kazuhiro, > Thanks Andreas, >> value = ((value & 0xffff) ^ 0x8000) - 0x8000. > It's better code. > Hi Nick, > Should I make and send the patch again? No need - I have checked this patch in and attributed it to Andreas. Cheers Nick