On Tue, Jul 24, 2012 at 11:20:11AM -0700, Linus Torvalds wrote:All that's strictly necessary is that cast to (int). That avoids the problem.On Tue, Jul 24, 2012 at 11:12 AM, Josh Boyer <jwboyer@xxxxxxxxxx> wrote:
+#define __NFDBITS (8 * (int) sizeof(long int))
I don't know if the type change is needed, but who the hell uses "long int"?
Not strictly, no. I believe in my brief tests, just the int cast was
sufficient. I can respin if you'd like. I probably need to anyway to
CC stable on this.