Commit df5aebd7e139e588c67c1f299bbcc6231cab0ab7

Guillem Jover 2013-05-27T06:49:57

test: Mark a literal integer as long long This fixes build failures on 32-bit architectures.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/test/humanize.c b/test/humanize.c
index caa8fec..0e8f0cf 100644
--- a/test/humanize.c
+++ b/test/humanize.c
@@ -58,7 +58,7 @@ main(int argc, char **argv)
 	assert(val == 20971520);
 
 	assert(dehumanize_number("-3G", &val) == 0);
-	assert(val == -3221225472);
+	assert(val == -3221225472LL);
 
 	return 0;
 }