Skip to content

Commit

Permalink
Copy JRuby cast change from 1.1 to 1.2.
Browse files Browse the repository at this point in the history
git-svn-id: svn://rubyforge.org/var/svn/mongrel/branches/stable_1-2@1018 19e92222-5c0b-0410-8929-a290d50e31e9
  • Loading branch information
evanweaver committed May 24, 2008
1 parent cb8ec96 commit f5abfd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/http11_java/org/jruby/mongrel/Http11.java
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit f5abfd5

Please sign in to comment.