diff options
author | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-07-17 20:39:46 +0200 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@gmail.com> | 2013-07-17 20:45:21 +0200 |
commit | b52c9ddfa862ecd7f774946ed12185384c85a533 (patch) | |
tree | e1e0e9090528e608f1d076713754d3e741ebb329 /vdagent/desktop_layout.cpp | |
parent | 3bf46bc2b2a041dcc278a881e5822643a9e4604d (diff) |
Fix wrong DWORD print fmt
format '%u' expects argument of type 'unsigned int', but argument 8 has type 'DWORD
Diffstat (limited to 'vdagent/desktop_layout.cpp')
-rw-r--r-- | vdagent/desktop_layout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vdagent/desktop_layout.cpp b/vdagent/desktop_layout.cpp index 26b6b53..ce259e1 100644 --- a/vdagent/desktop_layout.cpp +++ b/vdagent/desktop_layout.cpp @@ -273,7 +273,7 @@ bool DesktopLayout::init_dev_mode(LPCTSTR dev_name, DEVMODE* dev_mode, DisplayMo ret = ChangeDisplaySettingsEx(dev_name, dev_mode, NULL, CDS_UPDATEREGISTRY, NULL); } - vd_printf("attach %d", ret); + vd_printf("attach %ld", ret); hdc = CreateDC(dev_name, NULL, NULL, NULL); } |