PATCH: fix minor compiler warning | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi ML, the attached patch fixes a minor warning about format string arguments when compiling the X server. Regards, Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD4DBQFH/Lr20pDUtJv9kIMRAjCIAKDDTyrP084dUe2ixxFS9BiKf6JtmACYp5eQ BvUCZzqjmm2y7ech9sLDpg== =Go+p -----END PGP SIGNATURE-----
>From 0f3b6ee64c9e90c719f51528c9657b6327efd470 Mon Sep 17 00:00:00 2001
From: root <root@luna.(none)>
Date: Wed, 9 Apr 2008 14:40:33 +0200
Subject: [PATCH] Fix compiler warning regarding format string
---
fb/fbpseudocolor.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/fb/fbpseudocolor.c b/fb/fbpseudocolor.c
index 06cf159..8cdab7d 100644
--- a/fb/fbpseudocolor.c
+++ b/fb/fbpseudocolor.c
@@ -159,11 +159,11 @@ static DevPrivateKey xxColormapPrivateKey = &xxColormapPrivateKey;
/* #define DEBUG */
#ifdef DEBUG
# define DBG ErrorF
-# define DBG_ARGS(x) ErrorF x
+# define DBG_ARGS(x) ErrorF(x)
# define PRINT_RECTS(rec) {\
int i;\
BoxPtr box;\
- ErrorF("RECTS: %i\n",REGION_NUM_RECTS(&rec));\
+ ErrorF("RECTS: %li\n",REGION_NUM_RECTS(&rec));\
if (REGION_NUM_RECTS(&rec) > 1) { \
for (i = 0; i < REGION_NUM_RECTS(&rec); i++ ) {\
box = REGION_BOX(&rec,i);\
--
1.5.2.5
Attachment:
0001-Fix-compiler-warning-regarding-format-string.patch.sig
Description: Binary data
_______________________________________________ xorg mailing list xorg@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/xorg
[X Forum] [Devices] [XFree86] [XFree86 Newbie] [Site Home] [IETF Annouce] [Security] [Fontconfig] [Bugtraq] [Photo] [Yosemite] [MIPS Linux] [ARM Linux] [Linux Security] [Video for Linux] [Linux RAID] [Linux Resources]