aboutsummaryrefslogtreecommitdiffstats
path: root/ext/digest
diff options
context:
space:
mode:
Diffstat (limited to 'ext/digest')
-rw-r--r--ext/digest/bubblebabble/bubblebabble.c2
-rw-r--r--ext/digest/digest.c2
2 files changed, 2 insertions, 2 deletions
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[] = {