Skip to content

Commit 23066ba

Browse files
committed
Merge pull request #9453 from ruby/fix-xcode-26-5-beta
Fix incompatible function pointer type error with Xcode 26.5 beta (cherry picked from commit d6116b7)
1 parent 867992c commit 23066ba

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bundler/spec/install/gemfile/git_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1404,7 +1404,7 @@
14041404
File.open(git_reader.path.join("ext/foo.c"), "w") do |file|
14051405
file.write <<-C
14061406
#include "ruby.h"
1407-
VALUE foo() { return INT2FIX(#{i}); }
1407+
VALUE foo(VALUE self) { return INT2FIX(#{i}); }
14081408
void Init_foo() { rb_define_global_function("foo", &foo, 0); }
14091409
C
14101410
end

0 commit comments

Comments
 (0)