Fix silly typo/bug.

(Logical change 1.369)
edge.strict_endians
cantab.net!aia21 2004-04-15 11:55:46 +00:00
parent 52889ba7a6
commit cd0bb098d9
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ char *ntfs_sid_to_mbs(const SID *sid, char *sid_str, size_t sid_str_size)
cnt = sid_str_size;
}
/* Start with "S-R-". */
i = snprintf(s, cnt, "S-%c-", (char)sid->revision);
i = snprintf(s, cnt, "S-%hhu-", (unsigned char)sid->revision);
if (i < 0 || i >= cnt)
goto err_out;
s += i;