Permalink
Browse files

Fixed C warning about type casting

  • Loading branch information...
1 parent 7e500dc commit faa274e3ee3e7e0a3de8b2436e00a52adba11c9e @ayanko committed Nov 28, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 ext/libevent_ext/http_request.c
View
2 ext/libevent_ext/http_request.c
@@ -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);

0 comments on commit faa274e

Please sign in to comment.