Add these two lines to the end of your code and you will understand what is happening.
printf("entry: signed = %d, unsigned = %u, hex = 0x%x\n", entry, entry entry); printf("uEntry: signed = %d, unsigned = %u, hex = 0x%x\n", uEntry,uEntry,uEntry);
source share