diff options
author | Calvin Buckley <calvin@cmpct.info> | 2021-07-06 23:25:13 -0300 |
---|---|---|
committer | Calvin Buckley <calvin@cmpct.info> | 2021-07-06 23:28:47 -0300 |
commit | c1aca3fedaf2cfe6d9bc7f5dbf5828a872dd74e5 (patch) | |
tree | e65ff448b3a2391b3e63b7cb6a13cd2a70fcf4a5 /src/hash | |
parent | 6c78fd06e3cedec818122ecc7f90e6c81e497354 (diff) | |
download | libgit2-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.h | 2 |
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]; }; |