xserver-multidpi/hw/xfree86/utils/gtf
Adam Jackson 4c1453393f gtf: Warning fix
../hw/xfree86/utils/gtf/gtf.c: In function ‘print_fb_mode’:
../hw/xfree86/utils/gtf/gtf.c:241:50: warning: cast from function call of type ‘double’ to non-matching type ‘int’ [-Wbad-function-cast]
     printf("    timings %d %d %d %d %d %d %d\n", (int) rint(1000000.0 / m->pclk),       /* pixclock in picoseconds */

That's pretty nitpicky of you, gcc, but at least it's easy to fix.

Signed-off-by: Adam Jackson <ajax@redhat.com>
Acked-by: Keith Packard <keithp@keithp.com>
2018-04-05 14:18:16 -04:00
..
.gitignore XFree86 utils: build utils man pages using XORG_MANPAGE_SECTIONS 2011-01-18 15:10:32 -08:00
gtf.c gtf: Warning fix 2018-04-05 14:18:16 -04:00
Makefile.am XFree86 utils: build utils man pages using XORG_MANPAGE_SECTIONS 2011-01-18 15:10:32 -08:00