diff options
Diffstat (limited to 'platform/x11/x11_main.c')
-rw-r--r-- | platform/x11/x11_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/x11/x11_main.c b/platform/x11/x11_main.c index 4c96ecc9..dc99878b 100644 --- a/platform/x11/x11_main.c +++ b/platform/x11/x11_main.c @@ -350,8 +350,8 @@ void cleanup(pdfapp_t *app) static int winresolution() { - return DisplayWidth(xdpy, xscr) * 25.4 / - DisplayWidthMM(xdpy, xscr) + 0.5; + return DisplayWidth(xdpy, xscr) * 25.4f / + DisplayWidthMM(xdpy, xscr) + 0.5f; } void wincursor(pdfapp_t *app, int curs) |