diff options
Diffstat (limited to 'user/win32/userinfo.c')
-rw-r--r-- | user/win32/userinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user/win32/userinfo.c b/user/win32/userinfo.c index f343d9582..12931ade6 100644 --- a/user/win32/userinfo.c +++ b/user/win32/userinfo.c @@ -46,7 +46,7 @@ static void get_sid_string(char *buf, apr_size_t blen, apr_uid_t id) sa = (DWORD)(psia->Value[1]) + ((DWORD)(psia->Value[0]) << 8); if (sa) { slen = apr_snprintf(buf, blen, "S-%d-0x%04x%08x", - SID_REVISION, sa, nsa); + SID_REVISION, (unsigned int)sa, (unsigned int)nsa); } else { slen = apr_snprintf(buf, blen, "S-%d-%lu", SID_REVISION, nsa); |