summaryrefslogtreecommitdiff
path: root/libcli/security
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-01-25 16:44:27 +0100
committerVolker Lendecke <vl@samba.org>2010-01-25 16:45:32 +0100
commitd86d5be63692220bc2ad5fb84eaeb70a7a03dca2 (patch)
treef1d52e5f026452008291322417ab2f7394575fe2 /libcli/security
parentfa47dbb57ad43a97aaf03b371b0dd8addc4a5c47 (diff)
downloadsamba-d86d5be63692220bc2ad5fb84eaeb70a7a03dca2.tar.gz
samba-d86d5be63692220bc2ad5fb84eaeb70a7a03dca2.tar.bz2
samba-d86d5be63692220bc2ad5fb84eaeb70a7a03dca2.zip
Revert "libcli/security: Convert some strtol calls to strtoul"
This reverts commit 7fe66e06c4df575c410d4d70ff38f120c2f4363b.
Diffstat (limited to 'libcli/security')
-rw-r--r--libcli/security/dom_sid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcli/security/dom_sid.c b/libcli/security/dom_sid.c
index 9952977fa9..7cb50c926c 100644
--- a/libcli/security/dom_sid.c
+++ b/libcli/security/dom_sid.c
@@ -96,13 +96,13 @@ bool dom_sid_parse(const char *sidstr, struct dom_sid *ret)
sidstr += 2;
- rev = strtoul(sidstr, &p, 10);
+ rev = strtol(sidstr, &p, 10);
if (*p != '-') {
return false;
}
sidstr = p+1;
- ia = strtoul(sidstr, &p, 10);
+ ia = strtol(sidstr, &p, 10);
if (p == sidstr) {
return false;
}