summaryrefslogtreecommitdiff
path: root/libcli/security
diff options
context:
space:
mode:
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;
}