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/e8ef8de74dc5
branches: trunk
changeset: 7105:e8ef8de74dc5
user: mrg <mrg%NetBSD.org@localhost>
date: Fri Jul 15 05:08:55 2022 +0000
description:
use "1ULL << 32" for a 64 bit member, not 1UL.
diffstat:
external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/drmmode_display.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (16 lines):
diff -r 22205c8dc647 -r e8ef8de74dc5 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 Fri Jul 15 04:30:05 2022 +0000
+++ b/external/mit/xorg-server/dist/hw/xfree86/drivers/modesetting/drmmode_display.c Fri Jul 15 05:08:55 2022 +0000
@@ -63,9 +63,9 @@
void *pPixData);
static const struct drm_color_ctm ctm_identity = { {
- 1UL << 32, 0, 0,
- 0, 1UL << 32, 0,
- 0, 0, 1UL << 32
+ 1ULL << 32, 0, 0,
+ 0, 1ULL << 32, 0,
+ 0, 0, 1ULL << 32
} };
static Bool ctm_is_identity(const struct drm_color_ctm *ctm)
Home |
Main Index |
Thread Index |
Old Index