summaryrefslogtreecommitdiffstats
path: root/tests/login_tests_saml2.c
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2013-09-08 19:23:30 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2013-09-08 19:33:58 (GMT)
commit05a01a824715de7e8e5d3d65b73e8fc855e5dad9 (patch)
treea5979b4c36219198bf5f4934494273ee819b416f /tests/login_tests_saml2.c
parentb6faccae0fabfd7e47fc6b86a06fc78367446526 (diff)
downloadlasso-05a01a824715de7e8e5d3d65b73e8fc855e5dad9.zip
lasso-05a01a824715de7e8e5d3d65b73e8fc855e5dad9.tar.gz
lasso-05a01a824715de7e8e5d3d65b73e8fc855e5dad9.tar.bz2
fix compilation errors on 64bits architectures
* sizeof(unsigned int) != sizeof(size_t) * INT_MAX != LONG_MAX
Diffstat (limited to 'tests/login_tests_saml2.c')
-rw-r--r--tests/login_tests_saml2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/login_tests_saml2.c b/tests/login_tests_saml2.c
index 624556d..4b09b6a 100644
--- a/tests/login_tests_saml2.c
+++ b/tests/login_tests_saml2.c
@@ -93,7 +93,7 @@ generateIdentityProviderContextDumpMemory()
char *metadata = NULL;
char *private_key = NULL;
char *certificate = NULL;
- guint len;
+ size_t len;
char *ret = NULL;
g_file_get_contents(TESTSDATADIR "/idp5-saml2/metadata.xml", &metadata, &len, NULL);