summaryrefslogtreecommitdiffstats
path: root/ext/openssl
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-31 01:51:44 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-31 01:51:44 +0000
commit077704e1b3c99d4420800d2c44ab1e2fa5450619 (patch)
tree2101ee04e0a98c149d8f683c1bb92cbc543072b3 /ext/openssl
parent3ab3ec62c32a7791706ade4052e65286c9be2f99 (diff)
downloadruby-077704e1b3c99d4420800d2c44ab1e2fa5450619.tar.gz
ruby-077704e1b3c99d4420800d2c44ab1e2fa5450619.tar.xz
ruby-077704e1b3c99d4420800d2c44ab1e2fa5450619.zip
* iseq.c (ruby_iseq_disasm_insn): suppress warnings on platforms which
int size differs from pointer size. * ext/openssl/ossl_asn1.c (ossl_asn1_get_asn1type): ditto * ext/syck/rubyext.c (rb_syck_err_handler), (syck_default_error_handler): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18283 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/openssl')
-rw-r--r--ext/openssl/ossl_asn1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/openssl/ossl_asn1.c b/ext/openssl/ossl_asn1.c
index 671bac14c..e6d09fbca 100644
--- a/ext/openssl/ossl_asn1.c
+++ b/ext/openssl/ossl_asn1.c
@@ -495,7 +495,7 @@ ossl_asn1_get_asn1type(VALUE obj)
value = ossl_asn1_get_value(obj);
switch(tag){
case V_ASN1_BOOLEAN:
- ptr = (void*)obj_to_asn1bool(value);
+ ptr = (void*)(VALUE)obj_to_asn1bool(value);
free_func = NULL;
break;
case V_ASN1_INTEGER: /* FALLTHROUGH */