Skip to content

Commit 2530496

Browse files
committed
closure: follow variable name change
GitHub: GH-102
1 parent 81a8a56 commit 2530496

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/fiddle/closure.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ initialize_body(VALUE user_data)
297297
result = ffi_prep_closure_loc(pcl, cif, callback,
298298
(void *)(data->self), cl->code);
299299
#else
300-
result = ffi_prep_closure(pcl, cif, callback, (void *)self);
300+
result = ffi_prep_closure(pcl, cif, callback, (void *)(data->self));
301301
cl->code = (void *)pcl;
302302
i = mprotect(pcl, sizeof(*pcl), PROT_READ | PROT_EXEC);
303303
if (i) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy