diff options
author | Peter Åstrand <astrand@cendio.se> | 2010-02-10 10:03:27 +0000 |
---|---|---|
committer | Peter Åstrand <astrand@cendio.se> | 2010-02-10 10:03:27 +0000 |
commit | 66a2a93ed5db365064a56adca72a90870a61198c (patch) | |
tree | 6baf6a635f9c81c8ba5cb13398dba3b34be5dae8 /win/rfb_win32 | |
parent | 22ffac1cf11a57d16423cc37d13b365a9d22a310 (diff) | |
download | tigervnc-66a2a93ed5db365064a56adca72a90870a61198c.tar.gz tigervnc-66a2a93ed5db365064a56adca72a90870a61198c.zip |
Eliminated GCC warning: DWORD is unsigned long, so use that in the
printf format as well.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3974 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/rfb_win32')
-rw-r--r-- | win/rfb_win32/Registry.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/Registry.cxx b/win/rfb_win32/Registry.cxx index 4f073f47..b278576c 100644 --- a/win/rfb_win32/Registry.cxx +++ b/win/rfb_win32/Registry.cxx @@ -246,7 +246,7 @@ TCHAR* RegKey::getRepresentation(const TCHAR* valname) const { case REG_DWORD: { TCharArray tmp(16); - _stprintf(tmp.buf, _T("%u"), *((DWORD*)data.buf)); + _stprintf(tmp.buf, _T("%lu"), *((DWORD*)data.buf)); return tmp.takeBuf(); } case REG_EXPAND_SZ: |