On Thu, Dec 19, 2013 at 11:59:20PM -0500, Theodore Ts'o wrote: > So C's integer promotion and sign extension rules are very obscure and > confusing, and that may be a reason why we should put in an explicit > cast, but it looks like the right thing is happening here. Here's a > test program --- what am I missing? Never mind, I see the problem. It works if cr is a short, but not if it is an unsigned int. Sigh... - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html