Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetti...



details:   https://anonhg.NetBSD.org/xsrc/rev/1a480249319b
branches:  trunk
changeset: 7116:1a480249319b
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Jul 20 03:51:16 2022 +0000

description:
use PRIu64 and hopefully fix some clang builds.

diffstat:

 external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/drmmode_display.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r 9dff12630f56 -r 1a480249319b external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/drmmode_display.c
--- a/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/drmmode_display.c    Tue Jul 19 07:14:18 2022 +0000
+++ b/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/drmmode_display.c    Wed Jul 20 03:51:16 2022 +0000
@@ -3921,11 +3921,11 @@
             crtc->gamma_blue = gamma + size * 2;
 
             xf86DrvMsgVerb(pScrn->scrnIndex, X_INFO, MS_LOGLEVEL_DEBUG,
-                           "Gamma ramp set to %ld entries on CRTC %d\n",
+                           "Gamma ramp set to %" PRIu64 " entries on CRTC %d\n",
                            size, num);
         } else {
             xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
-                       "Failed to allocate memory for %ld gamma ramp entries "
+                       "Failed to allocate memory for %" PRIu64 " gamma ramp entries "
                        "on CRTC %d.\n",
                        size, num);
             return FALSE;



Home | Main Index | Thread Index | Old Index