Skip to content

add typecasting to RTEST macro#784

Merged
BanzaiMan merged 1 commit intojruby:masterfrom
unbit:master
Jun 7, 2013
Merged

add typecasting to RTEST macro#784
BanzaiMan merged 1 commit intojruby:masterfrom
unbit:master

Conversation

@unbit
Copy link
Contributor

@unbit unbit commented Jun 3, 2013

This patch fixes a compilation bug with native c extensions:

error: invalid operands to binary & (have ‘VALUE (*)(void)’ and ‘long unsigned int’)

BanzaiMan added a commit that referenced this pull request Jun 7, 2013
add typecasting to RTEST macro
@BanzaiMan BanzaiMan merged commit 8bb6bae into jruby:master Jun 7, 2013
@BanzaiMan
Copy link
Member

Same typecasting exists in MRI's ruby.h.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants