simplify UINT_MAX_N

Probably I was too precatious, not relying to common rule about
unsigned subtraction to minus.
This commit is contained in:
Nikita Zlobin 2020-05-26 18:32:58 +05:00
parent d45888a785
commit 98debc663a

View File

@ -35,7 +35,7 @@ struct window_x11 *win;
PangoFontDescription *pango_fdesc;
#define UINT_MAX_N(bits) (1 << (bits-1) | (( 1 << (bits-1) ) - 1))
#define UINT_MAX_N(bits) ((1 << bits) - 1)
void draw_setup(void)
{