summaryrefslogtreecommitdiff
path: root/ext/openssl
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-08 16:06:30 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-04-08 16:28:38 +0900
commitd8720eb7de9cd9d874b621f214c27022e17cc941 (patch)
treea0a448d47f614493d8a6bb9aabaca9a7cf9870e7 /ext/openssl
parent6163a4e1b33ed7df27d0c37e835ce04407857a16 (diff)
Suppress -Wshorten-64-to-32 warnings
Diffstat (limited to 'ext/openssl')
-rw-r--r--ext/openssl/ossl_ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_ssl.c b/ext/openssl/ossl_ssl.c
index 34bb636ead..337ce5d64d 100644
--- a/ext/openssl/ossl_ssl.c
+++ b/ext/openssl/ossl_ssl.c
@@ -2324,7 +2324,7 @@ ossl_ssl_get_verify_result(VALUE self)
GetSSL(self, ssl);
- return INT2NUM(SSL_get_verify_result(ssl));
+ return LONG2NUM(SSL_get_verify_result(ssl));
}
/*