summaryrefslogtreecommitdiff
path: root/xvinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'xvinfo.c')
-rw-r--r--xvinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xvinfo.c b/xvinfo.c
index d7f7ee6..fd17432 100644
--- a/xvinfo.c
+++ b/xvinfo.c
@@ -214,8 +214,8 @@ main(int argc, char *argv[])
fprintf(stdout, " size: %li x %li\n",
encodings[n].width, encodings[n].height);
fprintf(stdout, " rate: %f\n",
- (float) encodings[n].rate.numerator /
- (float) encodings[n].rate.denominator);
+ (double) encodings[n].rate.numerator /
+ (double) encodings[n].rate.denominator);
}
}
}