mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-18 03:29:50 +02:00
test: Mark a literal integer as long long
This fixes build failures on 32-bit architectures.
This commit is contained in:
@@ -58,7 +58,7 @@ main(int argc, char **argv)
|
|||||||
assert(val == 20971520);
|
assert(val == 20971520);
|
||||||
|
|
||||||
assert(dehumanize_number("-3G", &val) == 0);
|
assert(dehumanize_number("-3G", &val) == 0);
|
||||||
assert(val == -3221225472);
|
assert(val == -3221225472LL);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user