[macruby-changes] [3944] MacRuby/trunk/ext/digest/bubblebabble/bubblebabble.c
source_changes at macosforge.org
source_changes at macosforge.org
Tue Apr 20 13:43:37 PDT 2010
Revision: 3944
http://trac.macosforge.org/projects/ruby/changeset/3944
Author: lsansonetti at apple.com
Date: 2010-04-20 13:43:36 -0700 (Tue, 20 Apr 2010)
Log Message:
-----------
fix warning
Modified Paths:
--------------
MacRuby/trunk/ext/digest/bubblebabble/bubblebabble.c
Modified: MacRuby/trunk/ext/digest/bubblebabble/bubblebabble.c
===================================================================
--- MacRuby/trunk/ext/digest/bubblebabble/bubblebabble.c 2010-04-20 20:24:50 UTC (rev 3943)
+++ MacRuby/trunk/ext/digest/bubblebabble/bubblebabble.c 2010-04-20 20:43:36 UTC (rev 3944)
@@ -21,7 +21,7 @@
{
const char *digest;
size_t digest_len;
- UInt8 *p;
+ char *p;
int i, j, seed = 1;
static const char vowels[] = {
'a', 'e', 'i', 'o', 'u', 'y'
@@ -40,7 +40,7 @@
}
const size_t p_len = (digest_len | 1) * 3 + 2;
- p = (UInt8 *)malloc(p_len + 1);
+ p = (char *)malloc(p_len + 1);
i = j = 0;
p[j++] = 'x';
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-changes/attachments/20100420/92d38b18/attachment.html>
More information about the macruby-changes
mailing list