Use lround instead of (long)round
This commit is contained in:
parent
e4d2b38552
commit
052e96d323
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue