From 71eb2623f3179bdca22ea482e00fe3bba6cd5e37 Mon Sep 17 00:00:00 2001 From: Andre Nathan Date: Mon, 23 Dec 2013 12:13:28 -0200 Subject: [PATCH] Fix index variable signedness --- ext/lxc/lxc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ext/lxc/lxc.c b/ext/lxc/lxc.c index 6ede153..837ac32 100644 --- a/ext/lxc/lxc.c +++ b/ext/lxc/lxc.c @@ -20,8 +20,7 @@ struct container_data { static char ** ruby_to_c_string_array(VALUE rb_arr) { - int i; - size_t len; + size_t i, len; char **arr; len = RARRAY_LEN(rb_arr);