diff options
author | Guillem Jover <guillem@hadrons.org> | 2011-10-04 11:35:02 +0000 |
---|---|---|
committer | Matt Turner <mattst88@gmail.com> | 2011-10-06 15:17:19 -0400 |
commit | 30326a08a2e38dab3e82a9233054e67818cd2a85 (patch) | |
tree | 7c09160651a2e7be815e9870717a0c25b75aa9aa /configure.ac | |
parent | f7d3fd257d1bf7a0313a45dccf023ed99c400da9 (diff) |
Use intptr_t instead of int when casting from and to XtPointer
Fixes gcc warnings:
Scrollbar.c: In function 'NotifyScroll':
Scrollbar.c:955:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
Text.c: In function 'HScroll':
Text.c:1274:41: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
Text.c: In function 'VScroll':
Text.c:1431:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
TextPop.c: In function 'DoSearch':
TextPop.c:808:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
TextPop.c: In function 'Replace':
TextPop.c:942:31: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
Viewport.c: In function 'ScrollUpDownProc':
Viewport.c:866:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
Reviewed-by: Matt Turner <mattst88@gmail.com>
Signed-off-by: Guillem Jover <guillem@hadrons.org>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index c70959c..d74ccc4 100644 --- a/configure.ac +++ b/configure.ac @@ -33,6 +33,7 @@ AC_PROG_LEX PKG_CHECK_MODULES(X11, [x11 xt xmu xext]) AC_CHECK_HEADERS([wctype.h wchar.h widec.h]) AC_CHECK_FUNCS([iswspace]) +AC_TYPE_INTPTR_T XAW3D_CPPFLAGS= |