diff options
author | Robert C. Helling <helling@atdotde.de> | 2015-08-17 18:29:21 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-08-17 21:09:22 -0700 |
commit | 56c90efba8748f162da0ba1b4e9b9331e1748124 (patch) | |
tree | b1c6b32370f571374a8385a748262ad3fdd77661 /git-access.c | |
parent | aa48dfea27388125f0da0b175ce13d48dd96f1a6 (diff) | |
download | subsurface-56c90efba8748f162da0ba1b4e9b9331e1748124.tar.gz |
Explicit cast to stop compiler warning
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'git-access.c')
-rw-r--r-- | git-access.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git-access.c b/git-access.c index 82f761710..c6a1648b1 100644 --- a/git-access.c +++ b/git-access.c @@ -143,7 +143,7 @@ int certificate_check_cb(git_cert *cert, int valid, const char *host, void *payl SHA1_Update(&ctx, cert509->data, cert509->len); SHA1_Final(hash, &ctx); hash[20] = 0; - if (same_string(hash, KNOWN_CERT)) { + if (same_string((char *)hash, KNOWN_CERT)) { fprintf(stderr, "cloud certificate considered %s, forcing it valid\n", valid ? "valid" : "not valid"); return 1; |