debug output format fix in TI.c
xserver/hw/xfree86/ramdac/TI.c:118:12: error: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Werror=format=] xserver/hw/xfree86/ramdac/TI.c:118:12: error: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Werror=format=] xserver/hw/xfree86/ramdac/TI.c:118:12: error: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘long unsigned int’ [-Werror=format=] Use %lu for an unsigned long Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
6cc0f3d95d
commit
27cf584027
|
@ -114,7 +114,7 @@ TIramdacCalculateMNPForClock(unsigned long RefClock, /* In 100Hz units */
|
|||
VCO = 8.0 * IntRef * best_m / best_n;
|
||||
ActualClock = VCO / (1 << p);
|
||||
|
||||
DebugF("f_out=%ld f_vco=%.1f n=%d m=%d p=%d\n",
|
||||
DebugF("f_out=%ld f_vco=%.1f n=%lu m=%lu p=%lu\n",
|
||||
ActualClock, VCO, *rN, *rM, *rP);
|
||||
|
||||
return ActualClock;
|
||||
|
|
Loading…
Reference in New Issue