summaryrefslogtreecommitdiff
path: root/src/fc
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2015-12-07 15:46:13 -0800
committerKeith Packard <keithp@keithp.com>2015-12-08 20:36:38 -0800
commiteb67d10ae82b364a4324e96ce53baaa4e5e75f97 (patch)
treef02278d58e2326e35dcdc5640ea6f44f02eda909 /src/fc
parentd6877a7c1c35985f6a75b6cd4e814595e781adc4 (diff)
downloadxorg-lib-libXfont-eb67d10ae82b364a4324e96ce53baaa4e5e75f97.tar.gz
Add compiler warning flags and fix warnings
Mostly signed vs unsigned comparisons Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/fc')
-rw-r--r--src/fc/fstrans.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fc/fstrans.c b/src/fc/fstrans.c
index 24fceee..9b21864 100644
--- a/src/fc/fstrans.c
+++ b/src/fc/fstrans.c
@@ -26,3 +26,5 @@
#define FONT_t
#define TRANS_CLIENT
#include <X11/Xtrans/transport.c>
+/* inhibit warning about is_numeric */
+static inline void foo(void) { (void) is_numeric("a"); }