summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xdpyinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xdpyinfo.c b/xdpyinfo.c
index 6c2c4e3..06681b9 100644
--- a/xdpyinfo.c
+++ b/xdpyinfo.c
@@ -764,7 +764,7 @@ print_XF86VidMode_modeline(
unsigned int flags)
{
printf(" %6.2f %4d %4d %4d %4d %4d %4d %4d %4d ",
- (float)dotclock/1000.0,
+ dotclock/1000.0,
hdisplay, hsyncstart, hsyncend, htotal,
vdisplay, vsyncstart, vsyncend, vtotal);
if (flags & V_PHSYNC) printf(" +hsync");