Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix compilation under MacRuby #243

Merged
merged 1 commit into from

4 participants

Ben Klang ExpanDrive Inc Aaron Stone Aman Gupta
Ben Klang

The build errors on MacRuby because of an invalid conversion from 'const void *' to 'void *'. This pull request fixes it.

ExpanDrive Inc

+1 on this

Aaron Stone sodabrew referenced this pull request from a commit in sodabrew/eventmachine
Iñaki Baz Castillo ibc Fix compilation under MacRuby: eventmachine#243 1c944fc
Aaron Stone sodabrew added this to the v1.0.6 milestone
Aman Gupta tmm1 merged commit 4555264 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 28, 2011
  1. Ben Klang

    Fix compilation with MacRuby

    bklang authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  ext/rubymain.cpp
2  ext/rubymain.cpp
View
@@ -592,7 +592,7 @@ static VALUE t_set_sock_opt (VALUE self, VALUE signature, VALUE lev, VALUE optna
int fd = evma_get_file_descriptor (NUM2ULONG (signature));
int level = NUM2INT(lev), option = NUM2INT(optname);
int i;
- void *v;
+ const void *v;
socklen_t len;
switch (TYPE(optval)) {
Something went wrong with that request. Please try again.