]> git.ipfire.org Git - thirdparty/openvpn.git/commit
ntlm: avoid useless cast
authorAntonio Quartulli <a@unstable.cc>
Mon, 10 Jul 2017 04:34:39 +0000 (12:34 +0800)
committerGert Doering <gert@greenie.muc.de>
Mon, 17 Jul 2017 11:45:18 +0000 (13:45 +0200)
commit1cdfc9302aad8570360d278aded5fb9f110ca2b6
treec431680efac952e1b233123766ecf9dd89da0540
parente441d861881669c97906652c3278cc9a6c69a417
ntlm: avoid useless cast

The argument passed to my_strupr() is converted to an upper case
string by means of toupper(). The latter expects a single signed int
as argument, therefore it makes sense to have my_strupr() take a
signed argument too and avoid an explicit and an implicit cast.

Signed-off-by: Antonio Quartulli <a@unstable.cc>
Acked-by: Steffan Karger <steffan.karger@fox-it.com>
Message-Id: <20170710043441.24770-3-a@unstable.cc>
URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg15031.html
Signed-off-by: Gert Doering <gert@greenie.muc.de>
src/openvpn/ntlm.c