[PATCH 2/3] WINGs: Fix unused parameter compiler warnings in examples.

2014-10-30 Thread Doug Torrance
--- WINGs/Examples/colorpick.c | 1 + WINGs/Examples/fontl.c | 2 ++ WINGs/Examples/puzzle.c| 3 +++ 3 files changed, 6 insertions(+) diff --git a/WINGs/Examples/colorpick.c b/WINGs/Examples/colorpick.c index 24daa2c..3d6a2dc 100644 --- a/WINGs/Examples/colorpick.c +++

[PATCH 1/3] WINGs: Link examples against Xlib.

2014-10-30 Thread Doug Torrance
The font lister WINGs example program was failing to build because it uses the XOpenDisplay() function from Xlib. --- WINGs/Examples/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WINGs/Examples/Makefile.am b/WINGs/Examples/Makefile.am index 4ddaaf2..cfab01f

[PATCH 3/3] WINGs: Avoid cast from pointer to integer of different size compiler warnings.

2014-10-30 Thread Doug Torrance
--- WINGs/Examples/fontl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/WINGs/Examples/fontl.c b/WINGs/Examples/fontl.c index 4f4eaab..a440a22 100644 --- a/WINGs/Examples/fontl.c +++ b/WINGs/Examples/fontl.c @@ -23,6 +23,7 @@ #include stdint.h #include WINGs/WINGs.h