aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorkatherine <ageha@airen-no-jikken.icu>2021-01-09 14:05:57 -0700
committerkatherine <ageha@airen-no-jikken.icu>2021-01-09 14:05:57 -0700
commit5113a9fd817e5df67b3b9cf9cf3a4fee715587b8 (patch)
tree443823d8a930fc8e55f68efacbe9b21fed24ac35 /src
parent1ccfd37f5513ed29a61325a81944386da4e2a737 (diff)
downloadevery-5113a9fd817e5df67b3b9cf9cf3a4fee715587b8.tar.gz
check for <32 bit arch
Diffstat (limited to 'src')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 21a1f49..e10b7a7 100644
--- a/src/main.c
+++ b/src/main.c
@@ -27,7 +27,7 @@ int main(int argc, char **argv)
char **rdirs, **cur;
bool calpath_alloced = false;
- if (INT_MAX < 2147483647) {
+ if ((unsigned long)INT_MAX < (unsigned long)2147483647) {
ERR(
"%s does not work appropriately on systems where `int` < 32 bits",
argv[0]