Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed C warning about type casting

  • Loading branch information...
commit faa274e3ee3e7e0a3de8b2436e00a52adba11c9e 1 parent 7e500dc
Andriy Yanko authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ext/libevent_ext/http_request.c
2  ext/libevent_ext/http_request.c
View
@@ -298,7 +298,7 @@ static VALUE t_get_uri(VALUE self) {
static VALUE t_get_body(VALUE self) {
Libevent_HttpRequest *http_request;
struct evbuffer *ev_buffer;
- int length;
+ size_t length;
VALUE body;
Data_Get_Struct(self, Libevent_HttpRequest, http_request);
Please sign in to comment.
Something went wrong with that request. Please try again.