diff options
-rw-r--r-- | source/utils/profiles.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/utils/profiles.c b/source/utils/profiles.c index c8d875dfab6..c939af276de 100644 --- a/source/utils/profiles.c +++ b/source/utils/profiles.c @@ -435,7 +435,7 @@ int get_sid(DOM_SID *sid, char *sid_str) lstr = sid_str + 5; while (1) { - if (!lstr || !lstr[0] || sscanf(lstr, "-%d", &auth) == 0) { + if (!lstr || !lstr[0] || sscanf(lstr, "-%u", &auth) == 0) { if (i < 4) { fprintf(stderr, "Not of form -d-d...: %s, %u\n", lstr, i); return 0; |