about summary refs log tree commit homepage
path: root/ext
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2011-02-26 14:45:04 -0800
committerEric Wong <normalperson@yhbt.net>2011-02-26 14:45:04 -0800
commit844ed3d36faf14813a2e6f2476920f63bcb3bc89 (patch)
tree906c7d11962fba060863567660aabe419cb015b1 /ext
parentb122f037c3af81b8e20deb36b9e0706fe8535668 (diff)
downloadruby_io_splice-844ed3d36faf14813a2e6f2476920f63bcb3bc89.tar.gz
Caught when compiling with the CFLAGS of Ruby 1.9.3dev
Diffstat (limited to 'ext')
-rw-r--r--ext/io_splice/io_splice_ext.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/io_splice/io_splice_ext.c b/ext/io_splice/io_splice_ext.c
index 69a5791..268179f 100644
--- a/ext/io_splice/io_splice_ext.c
+++ b/ext/io_splice/io_splice_ext.c
@@ -299,7 +299,7 @@ do { \
 static void advance_vmsplice_args(struct vmsplice_args *a, long n)
 {
         struct iovec *new_iov = a->iov;
-        int i;
+        unsigned long i;
 
         /* skip over iovecs we've already written completely */
         for (i = 0; i < a->nr_segs; i++, new_iov++) {