Skip to content

Commit 0f37b3e

Browse files
committed
Remove rb_sprintf patch from OpenSSL.
1 parent 31b74b1 commit 0f37b3e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/c/openssl/ossl_x509name.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,7 @@ static VALUE
324324
ossl_x509name_inspect(VALUE self)
325325
{
326326
return rb_enc_sprintf(rb_utf8_encoding(), "#<%"PRIsVALUE" %"PRIsVALUE">",
327-
(long) rb_obj_class(self), (long) ossl_x509name_to_utf8(self));
328-
// TruffleRuby: added the two (long) casts above
327+
rb_obj_class(self), ossl_x509name_to_utf8(self));
329328
}
330329

331330
/*

0 commit comments

Comments
 (0)