]> 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 12:19:25 +0000 (14:19 +0200)
commit527bf0caad0b2cc353a27682b49d9ca8e6c0e435
treed1d0d831c4aa9e2dfe0121e60eab5f7eaaeaff64
parent9a17c4c04ceb5a1c1de5a21c19bde794ab5b4a48
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>
(cherry picked from commit 1cdfc9302aad8570360d278aded5fb9f110ca2b6)
src/openvpn/ntlm.c