diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2013-09-08 21:23:30 +0200 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2013-09-08 21:33:58 +0200 |
commit | 05a01a824715de7e8e5d3d65b73e8fc855e5dad9 (patch) | |
tree | a5979b4c36219198bf5f4934494273ee819b416f /tests/tests2.c | |
parent | b6faccae0fabfd7e47fc6b86a06fc78367446526 (diff) | |
download | lasso-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/tests2.c')
-rw-r--r-- | tests/tests2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tests2.c b/tests/tests2.c index 821dc286..808af6a9 100644 --- a/tests/tests2.c +++ b/tests/tests2.c @@ -6,7 +6,7 @@ void load(char *file) { LassoNode *node = NULL; char *content; - guint len; + size_t len; xmlNode *xmlnode; g_file_get_contents(file, &content, &len, NULL); |