summaryrefslogtreecommitdiff
path: root/src/hash
diff options
context:
space:
mode:
authorCalvin Buckley <calvin@cmpct.info>2021-07-06 23:25:13 -0300
committerCalvin Buckley <calvin@cmpct.info>2021-07-06 23:28:47 -0300
commitc1aca3fedaf2cfe6d9bc7f5dbf5828a872dd74e5 (patch)
treee65ff448b3a2391b3e63b7cb6a13cd2a70fcf4a5 /src/hash
parent6c78fd06e3cedec818122ecc7f90e6c81e497354 (diff)
downloadlibgit2-c1aca3fedaf2cfe6d9bc7f5dbf5828a872dd74e5.tar.gz
Initial pass at using int64_t instead of long long
Even on systems without C99 where long long and stdint are both missing, we can shim stdint and point it to any compiler-specific type (i.e long long, _int64, etc.). Also next is constant suffixes and determining what needs to include stdint.
Diffstat (limited to 'src/hash')
-rw-r--r--src/hash/sha1/generic.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hash/sha1/generic.h b/src/hash/sha1/generic.h
index e4cc6026b..53fc0823e 100644
--- a/src/hash/sha1/generic.h
+++ b/src/hash/sha1/generic.h
@@ -11,7 +11,7 @@
#include "hash/sha1.h"
struct git_hash_sha1_ctx {
- unsigned long long size;
+ uint64_t size;
unsigned int H[5];
unsigned int W[16];
};