Skip to content

Commit b3b6a71

Browse files
authored
Merge pull request #67 from Geod24/fix-bio-ctrl-long
bio: Fix BIO ctrl callback signature (long -> c_long)
2 parents ce9fd3f + a359cdc commit b3b6a71

File tree

1 file changed

+4
-4
lines changed
  • source/deimos/openssl

1 file changed

+4
-4
lines changed

Diff for: source/deimos/openssl/bio.d

+4-4
Original file line numberDiff line numberDiff line change
@@ -779,15 +779,15 @@ int BIO_meth_set_puts(BIO_METHOD *biom,
779779
int function(BIO_METHOD *biom) BIO_meth_get_gets(BIO *, char *, int);
780780
int BIO_meth_set_gets(BIO_METHOD *biom,
781781
int function(BIO *, char *, int) gets);
782-
long function(BIO_METHOD *biom) BIO_meth_get_ctrl(BIO *, int, long, void *);
782+
c_long function(BIO *, int, c_long, void *) BIO_meth_get_ctrl(BIO_METHOD *biom);
783783
int BIO_meth_set_ctrl(BIO_METHOD *biom,
784-
long function(BIO *, int, long, void *) ctrl);
784+
c_long function(BIO *, int, c_long, void *) ctrl);
785785
int function(BIO_METHOD *bion) BIO_meth_get_create(BIO *);
786786
int BIO_meth_set_create(BIO_METHOD *biom, int function(BIO *) create);
787787
int function(BIO_METHOD *biom) BIO_meth_get_destroy(BIO *);
788788
int BIO_meth_set_destroy(BIO_METHOD *biom, int function(BIO *) destroy);
789-
long function(BIO *, int, BIO_info_cb *) BIO_meth_get_callback_ctrl(BIO_METHOD *biom);
790-
int BIO_meth_set_callback_ctrl(BIO_METHOD *biom, long function(BIO *, int, BIO_info_cb *) callback_ctrl);
789+
c_long function(BIO *, int, BIO_info_cb *) BIO_meth_get_callback_ctrl(BIO_METHOD *biom);
790+
int BIO_meth_set_callback_ctrl(BIO_METHOD *biom, c_long function(BIO *, int, BIO_info_cb *) callback_ctrl);
791791

792792
/* BEGIN ERROR CODES */
793793
/* The following lines are auto generated by the script mkerr.pl. Any changes

0 commit comments

Comments
 (0)