diff options
author | Rikard Falkeborn <rikard.falkeborn@gmail.com> | 2018-05-06 20:32:24 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2018-05-14 09:42:27 +0200 |
commit | eb49683e5591900b0c79fd9649a5aaf5549ea61f (patch) | |
tree | b015e5222e63c65ab6231c40965f04f816d422ae /lib/vtls | |
parent | 4062bc4d3e717a490292500025e842e4d0f90ff1 (diff) |
lib: Fix format specifiers
Diffstat (limited to 'lib/vtls')
-rw-r--r-- | lib/vtls/mbedtls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/vtls/mbedtls.c b/lib/vtls/mbedtls.c index 4ec9fa18e..d7759dc84 100644 --- a/lib/vtls/mbedtls.c +++ b/lib/vtls/mbedtls.c @@ -815,7 +815,7 @@ static void Curl_mbedtls_session_free(void *ptr) static size_t Curl_mbedtls_version(char *buffer, size_t size) { unsigned int version = mbedtls_version_get_number(); - return snprintf(buffer, size, "mbedTLS/%d.%d.%d", version>>24, + return snprintf(buffer, size, "mbedTLS/%u.%u.%u", version>>24, (version>>16)&0xff, (version>>8)&0xff); } |