[3944] MacRuby/trunk/ext/digest/bubblebabble/bubblebabble.c
Revision: 3944 http://trac.macosforge.org/projects/ruby/changeset/3944 Author: lsansonetti@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';
participants (1)
-
source_changes@macosforge.org