From 438b8706a7b4353a2208debaaf2fa2335ea94b1a Mon Sep 17 00:00:00 2001 From: naruse Date: Fri, 16 Oct 2009 04:36:31 +0000 Subject: * ext/bigdecimal/bigdecimal.c (VpMidRound): remove warnings. patch from Charlie Savage. [ruby-core:22869] * ext/digest/bubblebabble/bubblebabble.c (bubblebabble_str_new): ditto. * ext/digest/digest.c (hexencode_str_new): ditto. * ext/iconv/iconv.c (iconv_convert): ditto. * ext/socket/socket.c (inspect_sockaddr): ditto. * ext/socket/raddrinfo.c (sockaddr_obj): ditto. * ext/syck/emitter.c (syck_emitter_write): ditto. * ext/syck/emitter.c (syck_emitter_flush): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ext/digest/bubblebabble/bubblebabble.c | 2 +- ext/digest/digest.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/digest') diff --git a/ext/digest/bubblebabble/bubblebabble.c b/ext/digest/bubblebabble/bubblebabble.c index 3a03ceced0..10bde6ff71 100644 --- a/ext/digest/bubblebabble/bubblebabble.c +++ b/ext/digest/bubblebabble/bubblebabble.c @@ -23,7 +23,7 @@ bubblebabble_str_new(VALUE str_digest) size_t digest_len; VALUE str; char *p; - int i, j, seed = 1; + size_t i, j, seed = 1; static const char vowels[] = { 'a', 'e', 'i', 'o', 'u', 'y' }; diff --git a/ext/digest/digest.c b/ext/digest/digest.c index c3e9546ab4..48297082f0 100644 --- a/ext/digest/digest.c +++ b/ext/digest/digest.c @@ -36,7 +36,7 @@ hexencode_str_new(VALUE str_digest) { char *digest; size_t digest_len; - int i; + size_t i; VALUE str; char *p; static const char hex[] = { -- cgit v1.2.3