Use lround instead of (long)round

This commit is contained in:
Orestis Floros 2018-10-03 16:20:25 +03:00
parent e4d2b38552
commit 052e96d323
No known key found for this signature in database
GPG Key ID: E9AD9F32E401E38F
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@ void init_dpi(void) {
dpi = 0; dpi = 0;
goto init_dpi_end; goto init_dpi_end;
} }
dpi = (long)round(in_dpi); dpi = lround(in_dpi);
DLOG("Found Xft.dpi = %ld.\n", dpi); DLOG("Found Xft.dpi = %ld.\n", dpi);