Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Copy JRuby cast change from 1.1 to 1.2.

git-svn-id: svn://rubyforge.org/var/svn/mongrel/branches/stable_1-2@1018 19e92222-5c0b-0410-8929-a290d50e31e9
  • Loading branch information...
commit f5abfd5a7a02a36349e1b2ebc631cfd90588957d 1 parent cb8ec96
evanweaver authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ext/http11_java/org/jruby/mongrel/Http11.java
View
2  ext/http11_java/org/jruby/mongrel/Http11.java
@@ -247,7 +247,7 @@ public IRubyObject execute(IRubyObject req_hash, IRubyObject data, IRubyObject s
if(this.hp.has_error()) {
throw new RaiseException(runtime, eHttpParserError, "Invalid HTTP format, parsing fails.", true);
} else {
- return runtime.newFixnum(this.hp.parser.nread);
+ return runtime.newFixnum((long)this.hp.parser.nread);
}
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.