object: use literal constant in bigfile test Don't calculate 4 GiB as that will produce a compiler warning on MSVC. Just hardcode it.
diff --git a/tests/object/tree/read.c b/tests/object/tree/read.c
index 6fe224b..de2e64c 100644
--- a/tests/object/tree/read.c
+++ b/tests/object/tree/read.c
@@ -75,8 +75,9 @@ void test_object_tree_read__two(void)
}
#define BIGFILE "bigfile"
+
#ifdef GIT_ARCH_64
-# define BIGFILE_SIZE (size_t)4 * 1024 * 1024 * 1024 /* 4 GiB */
+#define BIGFILE_SIZE (off_t)4294967296
#else
# define BIGFILE_SIZE SIZE_MAX
#endif