summaryrefslogtreecommitdiffstats
path: root/tests/basic_tests.c
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2013-09-08 21:23:30 +0200
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2013-09-08 21:33:58 +0200
commit05a01a824715de7e8e5d3d65b73e8fc855e5dad9 (patch)
treea5979b4c36219198bf5f4934494273ee819b416f /tests/basic_tests.c
parentb6faccae0fabfd7e47fc6b86a06fc78367446526 (diff)
downloadlasso-05a01a824715de7e8e5d3d65b73e8fc855e5dad9.tar.gz
lasso-05a01a824715de7e8e5d3d65b73e8fc855e5dad9.tar.xz
lasso-05a01a824715de7e8e5d3d65b73e8fc855e5dad9.zip
fix compilation errors on 64bits architectures
* sizeof(unsigned int) != sizeof(size_t) * INT_MAX != LONG_MAX
Diffstat (limited to 'tests/basic_tests.c')
-rw-r--r--tests/basic_tests.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/basic_tests.c b/tests/basic_tests.c
index 23ce4313..a75174eb 100644
--- a/tests/basic_tests.c
+++ b/tests/basic_tests.c
@@ -187,7 +187,7 @@ END_TEST
START_TEST(test09_test_deserialization)
{
char *content = NULL;
- unsigned int len = 0;
+ size_t len = 0;
LassoNode *node;
g_file_get_contents(TESTSDATADIR "/response-1", &content, &len, NULL);