From 31088109b728d2cd93051c2114ffef880b4fa8bb Mon Sep 17 00:00:00 2001 From: usa Date: Fri, 6 Apr 2007 01:58:01 +0000 Subject: * ext/openssl/ossl_pkey_ec.c (ossl_ec_key_get_group): get rid of warning. we are aware of it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/openssl/ossl_pkey_ec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/openssl/ossl_pkey_ec.c') diff --git a/ext/openssl/ossl_pkey_ec.c b/ext/openssl/ossl_pkey_ec.c index 5f00fc001d..18a1db1022 100644 --- a/ext/openssl/ossl_pkey_ec.c +++ b/ext/openssl/ossl_pkey_ec.c @@ -249,7 +249,7 @@ static VALUE ossl_ec_key_get_group(VALUE self) if (!NIL_P(group_v)) return group_v; - if ((group = EC_KEY_get0_group(ec)) != NULL) { + if ((group = (EC_GROUP *)EC_KEY_get0_group(ec)) != NULL) { group_v = rb_obj_alloc(cEC_GROUP); SafeGet_ec_group(group_v, ec_group); ec_group->group = group; -- cgit v1.2.3