Author: ivan
Date: Wed Jan 23 14:46:39 2013
New Revision: 1437419
URL: http://svn.apache.org/viewvc?rev=1437419&view=rev
Log:
Fix compilation warning.
* subversion/tests/libsvn_repos/repos-test.c
(prop_validation): Use '\xff' instead of '(char) 0xff'.
Modified:
subversion/trunk/subversion/tests/libsvn_repos/repos-test.c
Modified: subversion/trunk/subversion/tests/libsvn_repos/repos-test.c
URL:
http://svn.apache.org/viewvc/subversion/trunk/subversion/tests/libsvn_repos/repos-test.c?rev=1437419&r1=1437418&r2=1437419&view=diff
==============================================================================
--- subversion/trunk/subversion/tests/libsvn_repos/repos-test.c (original)
+++ subversion/trunk/subversion/tests/libsvn_repos/repos-test.c Wed Jan 23
14:46:39 2013
@@ -2423,7 +2423,7 @@ prop_validation(const svn_test_opts_t *o
{
svn_error_t *err;
svn_repos_t *repos;
- const char non_utf8_string[5] = { 'a', (char)0xff, 'b', '\n', 0 };
+ const char non_utf8_string[5] = { 'a', '\xff', 'b', '\n', 0 };
const char *non_lf_string = "a\r\nb\n\rc\rd\n";
apr_pool_t *subpool = svn_pool_create(pool);