about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libstore/store-api.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/store-api.cc b/src/libstore/store-api.cc
index bd330a6da9a7..e80be1e68c5a 100644
--- a/src/libstore/store-api.cc
+++ b/src/libstore/store-api.cc
@@ -7,7 +7,7 @@
 
 /* Needed for some ancient environments. */
 #ifndef ULLONG_MAX
-#define ULLONG_MAX 18446744073709551615
+#define ULLONG_MAX 18446744073709551615ULL
 #endif