Checkout
stefan2
committed
on 13 Jun 12
Silence GCC warnings when assigning to chars (-Wconversion).
In all these cases, the value may never exceed the [-128,127]
range for char.
Show more
Silence GCC warnings when assigning to chars (-Wconversion).

In all these cases, the value may never exceed the [-128,127]

range for char.

* subversion/libsvn_delta/svndiff.c

 (window_handler): explicitly cast to char

* subversion/libsvn_fs_fs/key-gen.c

 (svn_fs_fs__next_key): prevent conversion to int

* subversion/libsvn_fs_fs/temp_serializer.c

 (encode_number): explicitly cast to char

* subversion/libsvn_ra_svn/marshal.c

 (svn_ra_svn_write_string, svn_ra_svn_write_cstring): ditto

* subversion/libsvn_subr/base64.c

 (decode_group): ditto

* subversion/libsvn_subr/checksum.c

 (svn_checksum_parse_hex): same here

* subversion/libsvn_subr/dirent_uri.c

 (canonicalize_to_lower, canonicalize_to_upper): here

* subversion/mod_dav_svn/repos.c

 (get_entry): and here

* subversion/tests/libsvn_repos/repos-test.c

 (prop_validation): char

* subversion/tests/libsvn_subr/stream-test.c

 (generate_test_bytes): explicitly cast to char Show less