From fb1bec52ae75d5f6fb9039be1811ebb0f5abc3a7 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: http://svn.ruby-lang.org/repos/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') diff --git a/ext/openssl/ossl_pkey_ec.c b/ext/openssl/ossl_pkey_ec.c index 5f00fc001..18a1db102 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