From: Guillem Jover Date: Mon, 27 May 2013 04:49:57 +0000 (+0200) Subject: test: Mark a literal integer as long long X-Git-Tag: 0.5.1~1 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=df5aebd7e139e588c67c1f299bbcc6231cab0ab7;p=thirdparty%2Flibbsd.git test: Mark a literal integer as long long This fixes build failures on 32-bit architectures. --- 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; }