diff options
author | Karl Williamson <khw@cpan.org> | 2018-04-03 09:35:46 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2018-04-03 09:38:27 -0600 |
commit | e39a41302266ba11423cb88bb253d4879250082e (patch) | |
tree | 2957c174c04b43c8f298c2088ebe9997e53d166f /embed.fnc | |
parent | f90ac1a0bc506dd30e107752c7f0c76ebfd3024e (diff) | |
download | perl-e39a41302266ba11423cb88bb253d4879250082e.tar.gz |
Use unsigned to avoid compiler warning
The code points that Unicode furnishes will always be unsigned. This
changes to uniformly treat the ones in the constructed tables of Unicode
properties to be unsigned, avoiding possible signedness compiler
warnings on some systems.
Spotted by Dave Mitchell.
Diffstat (limited to 'embed.fnc')
-rw-r--r-- | embed.fnc | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -1797,7 +1797,7 @@ s |UV |_to_utf8_case |const UV uv1 \ |NULLOK STRLEN *lenp \ |NN SV *invlist \ |NN const int * const invmap \ - |NULLOK const int * const * const aux_tables \ + |NULLOK const unsigned int * const * const aux_tables \ |NULLOK const U8 * const aux_table_lengths \ |NN const char * const normal #endif @@ -1890,9 +1890,9 @@ ApM |U8* |uvoffuni_to_utf8_flags_msgs|NN U8 *d|UV uv|const UV flags|NULLOK HV** Ap |U8* |uvuni_to_utf8_flags |NN U8 *d|UV uv|UV flags Apd |char* |pv_uni_display |NN SV *dsv|NN const U8 *spv|STRLEN len|STRLEN pvlim|UV flags ApdR |char* |sv_uni_display |NN SV *dsv|NN SV *ssv|STRLEN pvlim|UV flags -EXpR |Size_t |_inverse_folds |const UV cp \ - |NN int * first_folds_to \ - |NN const int ** remaining_folds_to +EXpR |Size_t |_inverse_folds |const UV cp \ + |NN unsigned int * first_folds_to \ + |NN const unsigned int ** remaining_folds_to : Used by Data::Alias EXp |void |vivify_defelem |NN SV* sv : Used in pp.c |