diff options
Diffstat (limited to 'libcli/security')
-rw-r--r-- | libcli/security/dom_sid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcli/security/dom_sid.c b/libcli/security/dom_sid.c index 7cb50c926c..9952977fa9 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 = strtol(sidstr, &p, 10); + rev = strtoul(sidstr, &p, 10); if (*p != '-') { return false; } sidstr = p+1; - ia = strtol(sidstr, &p, 10); + ia = strtoul(sidstr, &p, 10); if (p == sidstr) { return false; } |