diff options
Diffstat (limited to 'subversion/tests/libsvn_subr/utf-test.c')
-rw-r--r-- | subversion/tests/libsvn_subr/utf-test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subversion/tests/libsvn_subr/utf-test.c b/subversion/tests/libsvn_subr/utf-test.c index 474e308..2028e14 100644 --- a/subversion/tests/libsvn_subr/utf-test.c +++ b/subversion/tests/libsvn_subr/utf-test.c @@ -197,7 +197,7 @@ utf_validate2(apr_pool_t *pool) /* A random string; experiment shows that it's occasionally (less than 1%) valid but usually invalid. */ for (j = 0; j < sizeof(str) - 1; ++j) - str[j] = range_rand(0, 255); + str[j] = (char)range_rand(0, 255); str[sizeof(str) - 1] = 0; len = strlen(str); |