Replace short with int

This commit is contained in:
Samuel Dudik 2020-07-31 14:59:52 +02:00
parent 5f7cd56600
commit 5035afe94f
2 changed files with 9 additions and 9 deletions

View file

@ -55,9 +55,9 @@ int main(int argc, char *argv[])
XftFont *font = XftFontOpenName(display, screen, font_pattern);
unsigned short x = pos_x;
unsigned short y = pos_y;
unsigned short height = font->ascent - font->descent + padding * 2;
unsigned int x = pos_x;
unsigned int y = pos_y;
unsigned int height = font->ascent - font->descent + padding * 2;
switch (corner)
{