lib: modify string conversion wrapper to handle signed input
commitf3392f0fa321d88ac71d9dc0410167523d9696a5
authorSwen Schillig <swen@linux.ibm.com>
Tue, 5 Feb 2019 07:39:14 +0000 (5 08:39 +0100)
committerJeremy Allison <jra@samba.org>
Fri, 1 Mar 2019 00:32:12 +0000 (1 00:32 +0000)
tree2c1fba2907d8c657784211638d2783d7501e9089
parentfa2c919e1d05a2033ce1cb41a86f8bdd789d68b8
lib: modify string conversion wrapper to handle signed input

The standard string conversion routines convert a "signed string"
into the positive representation of the resulting value.
This is not wanted and therefore now detected and flag'ed as an error.

Signed-off-by: Swen Schillig <swen@linux.ibm.com>
Reviewed-by: Ralph Böhme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
lib/util/util.c