diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2011-10-18 17:33:43 +0200 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2011-11-21 22:10:12 +0100 |
| commit | 699f0e42d57d252c02002d09cc4f1671f808d95c (patch) | |
| tree | 4e1403b9d175e58ce7e06086d0c804ffe591ce52 | |
| parent | 6cb213e5f3a77f9fe05a9fa0b1bc2a35fcb3adf7 (diff) | |
[misc] apply changes to remove warning blocking compilation with gcc 4.5.2 and php 5.3.5
- gcc now warns when you compate a typedef to the anonymous enum which
define it.
- some inline function in the zend.h header do compare between signed
and unsigned char.
| -rw-r--r-- | bindings/php5/Makefile.am | 2 | ||||
| -rw-r--r-- | lasso/saml-2.0/logout.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/bindings/php5/Makefile.am b/bindings/php5/Makefile.am index a1ee2209..e39ea4ae 100644 --- a/bindings/php5/Makefile.am +++ b/bindings/php5/Makefile.am @@ -17,7 +17,7 @@ php_configdir=@PHP5_CONFIG_DIR@ php_config_DATA = lasso.ini lasso_la_CFLAGS = -fno-strict-aliasing $(LASSO_CORE_CFLAGS) -I$(top_srcdir) -I$(top_builddir) $(PHP5_INCLUDES) $(AM_CFLAGS) -lasso_la_CFLAGS += -Wno-unused-parameter +lasso_la_CFLAGS += -Wno-unused-parameter -Wno-sign-compare # problem in zend.h lasso_la_LDFLAGS = -export-dynamic -prefer-pic -module -avoid-version lasso_la_LIBADD = $(top_builddir)/lasso/liblasso.la $(LASSO_LIBS) $(PHP5_LDFLAGS) nodist_lasso_la_SOURCES = _lasso.c diff --git a/lasso/saml-2.0/logout.c b/lasso/saml-2.0/logout.c index 3d8859f0..15b8bd41 100644 --- a/lasso/saml-2.0/logout.c +++ b/lasso/saml-2.0/logout.c @@ -374,7 +374,7 @@ lasso_saml20_logout_process_response_msg(LassoLogout *logout, const char *respon /* only if asked we report, otherwise we do not care */ if (profile->signature_status && lasso_profile_get_signature_verify_hint(profile) == - LASSO_PROFILE_SIGNATURE_HINT_FORCE) + (LassoProfileSignatureVerifyHint)LASSO_PROFILE_SIGNATURE_HINT_FORCE) { goto_cleanup_with_rc(profile->signature_status); } |
