Updated iterator to be c99 compliant
Project: http://git-wip-us.apache.org/repos/asf/lucy/repo Commit: http://git-wip-us.apache.org/repos/asf/lucy/commit/2e8a6912 Tree: http://git-wip-us.apache.org/repos/asf/lucy/tree/2e8a6912 Diff: http://git-wip-us.apache.org/repos/asf/lucy/diff/2e8a6912 Branch: refs/heads/master Commit: 2e8a691291bd376f8f22d9afed56139943944c44 Parents: b676981 Author: Logan Bell <[email protected]> Authored: Sat Feb 9 15:29:57 2013 -0800 Committer: Logan Bell <[email protected]> Committed: Sat Feb 9 15:48:35 2013 -0800 ---------------------------------------------------------------------- clownfish/runtime/ruby/ext/Bind.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/lucy/blob/2e8a6912/clownfish/runtime/ruby/ext/Bind.c ---------------------------------------------------------------------- diff --git a/clownfish/runtime/ruby/ext/Bind.c b/clownfish/runtime/ruby/ext/Bind.c index 7d9cb5f..efa068f 100644 --- a/clownfish/runtime/ruby/ext/Bind.c +++ b/clownfish/runtime/ruby/ext/Bind.c @@ -48,7 +48,7 @@ S_cfish_array_to_ruby_array(cfish_VArray *varray) { if (num_elems) { //TODO Need to determine why c99 mode is not being honored uint32_t i; - for (i = 0; i < num_elems; i++) { + for (uint32_t i = 0; i < num_elems; i++) { cfish_Obj *val = Cfish_VA_Fetch(varray, i); if (val == NULL) { continue;
