diff options
| author | Etienne Samson <samson.etienne@gmail.com> | 2018-03-30 00:20:23 +0200 |
|---|---|---|
| committer | Etienne Samson <samson.etienne@gmail.com> | 2018-09-25 14:44:40 +0200 |
| commit | 21496c3024b3ab4168a8e4b4d1ef03da736aeac5 (patch) | |
| tree | b73fa564f80c56e0b5496cd3f7e544b0f7bd49e1 | |
| parent | b3e6ef92637303749359b7302de3f90e16083349 (diff) | |
| download | libgit2-21496c3024b3ab4168a8e4b4d1ef03da736aeac5.tar.gz | |
stransport: fix a warning on iOS
"warning: values of type 'OSStatus' should not be used as format arguments; add an explicit cast to 'int' instead [-Wformat]"
| -rw-r--r-- | src/streams/stransport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/streams/stransport.c b/src/streams/stransport.c index cca17bb94..15b305745 100644 --- a/src/streams/stransport.c +++ b/src/streams/stransport.c @@ -62,7 +62,7 @@ static int stransport_connect(git_stream *stream) ret = SSLHandshake(st->ctx); if (ret != errSSLServerAuthCompleted) { - giterr_set(GITERR_SSL, "unexpected return value from ssl handshake %d", ret); + giterr_set(GITERR_SSL, "unexpected return value from ssl handshake %d", (int)ret); return -1; } |
