screenint_priv.h: fix signed comparison warnings
This eliminates roughly 1500 lines of sign compare warnings
I think it makes more sense to make numScreens unsigned, but I went with the least potentially disruptive fix for the ABI's sake
It seems like changing numScreens to unsigned is the optimal solution here. How does one test if an ABI breakage occurs? Just try to run X11 with the proprietary nvidia driver and observe if it crashes or not?
It seems like changing numScreens to unsigned is the optimal solution here. How does one test if an ABI breakage occurs? Just try to run X11 with the proprietary nvidia driver and observe if it crashes or not?
I believe the practically achievable number of screens is magnitudes below the where the upmost bit is ever set. Negative numbers never have been valid here.