Branch: refs/heads/blead
  Home:   https://github.com/Perl/perl5
  Commit: 4f524185854014fa5dd0566975817fe2ade6a614
      
https://github.com/Perl/perl5/commit/4f524185854014fa5dd0566975817fe2ade6a614
  Author: Yves Orton <[email protected]>
  Date:   2020-02-08 (Sat, 08 Feb 2020)

  Changed paths:
    M regcomp.c

  Log Message:
  -----------
  regcomp.c: silence possible loss of data warnings

added casts, and asserts to verify that we arent losing data

    ..\regcomp.c(3589) : warning C4244: '=' : conversion from 'U32' to 'U8', 
possible loss of data
    ..\regcomp.c(3603) : warning C4244: '=' : conversion from 'U32' to 'U16', 
possible loss of data
    ..\regcomp.c(4192) : warning C4244: '=' : conversion from 'unsigned long' 
to 'U8', possible loss of data
    ..\regcomp.c(14900) : warning C4244: '=' : conversion from 'UV' to 'char', 
possible loss of data
    ..\regcomp.c(14918) : warning C4244: '=' : conversion from 'UV' to 'char', 
possible loss of data
    ..\regcomp.c(17621) : warning C4244: 'function' : conversion from 'IV' to 
'const char', possible loss of data
    ..\regcomp.c(17643) : warning C4244: 'function' : conversion from 'IV' to 
'const char', possible loss of data

Reply via email to