Skip to content

add typecasting to RTEST macro - #784

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

BanzaiMan merged 1 commit into
jruby:masterfrom
unbit:master

Conversation

@unbit

@unbit unbit commented Jun 3, 2013

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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