subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From i...@apache.org
Subject svn commit: r1437419 - /subversion/trunk/subversion/tests/libsvn_repos/repos-test.c
Date Wed, 23 Jan 2013 14:46:39 GMT
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);
 



Mime
View raw message