summaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/Security.cxx
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-03-03 16:34:56 +0100
committerPierre Ossman <ossman@cendio.se>2015-03-03 16:34:56 +0100
commitfb450fba5d8737310a1f205ea3d38467dedf6afa (patch)
tree64408b35ce3d358703ff928975eebd4be319b5ba /win/rfb_win32/Security.cxx
parent64624342d98c62563c2a78b117ce3fcea9b61e68 (diff)
downloadtigervnc-fb450fba5d8737310a1f205ea3d38467dedf6afa.tar.gz
tigervnc-fb450fba5d8737310a1f205ea3d38467dedf6afa.zip
Fix mismatches between format string and arguments
Diffstat (limited to 'win/rfb_win32/Security.cxx')
-rw-r--r--win/rfb_win32/Security.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/Security.cxx b/win/rfb_win32/Security.cxx
index 95ef1d8a..b4e93530 100644
--- a/win/rfb_win32/Security.cxx
+++ b/win/rfb_win32/Security.cxx
@@ -112,7 +112,7 @@ void Sid::getUserNameAndDomain(TCHAR** name, TCHAR** domain) {
LookupAccountSid(0, (PSID)buf, 0, &nameLen, 0, &domainLen, &use);
if (GetLastError() != ERROR_INSUFFICIENT_BUFFER)
throw rdr::SystemException("Unable to determine SID name lengths", GetLastError());
- vlog.info("nameLen=%d, domainLen=%d, use=%d", nameLen, domainLen, use);
+ vlog.info("nameLen=%lu, domainLen=%lu, use=%d", nameLen, domainLen, use);
*name = new TCHAR[nameLen];
*domain = new TCHAR[domainLen];
if (!LookupAccountSid(0, (PSID)buf, *name, &nameLen, *domain, &domainLen, &use))