On 5/2/2014 10:42 AM, Electron wrote: > Is there any other situation I have to be careful about > when mixing signed and unsigned types? Yes, in any math or logic in C. If you need to utilize signed and unsigned types in similar expressions=20 you need to cast them to the desired type. This will lead to bugs and complications for which you need to test=20 before assuming your code works correctly. - Martin K --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .