simplify UINT_MAX_N
Probably I was too precatious, not relying to common rule about unsigned subtraction to minus.
This commit is contained in:
parent
d45888a785
commit
98debc663a
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user