[strongSwan] [strongswan] davici: Fix codesonar warnings

Martin Willi martin at strongswan.org
Mon Jun 15 17:55:33 CEST 2020


Hi,

> Fixed below codesonar warning.
> isprint() is invoked here with an argument of signed type char, but
> only has defined behavior for int arguments that are either
> representable as unsigned char or equal to the value of macro EOF(-
> 1).
> 
> To avoid this unexpected behaviour, typecasted char type argument to
> unsigned char type.

Thanks for the patch, applied with some minor changes to master.

Your submission is a patch for your build environment, creating a patch
to davici. Please create patches against the davici git tree for future
submissions, preferably using git format-patch/send-email.

Regards
Martin



More information about the Users mailing list