aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/CleanDesktop.cxx
diff options
context:
space:
mode:
authorAdam Tkac <atkac@redhat.com>2009-10-12 15:54:59 +0000
committerAdam Tkac <atkac@redhat.com>2009-10-12 15:54:59 +0000
commit934f63cba1bf9646e3fd40b9575930e8c3371853 (patch)
tree92da01c0baccbb4182f656e0a541d6663291606b /win/rfb_win32/CleanDesktop.cxx
parent8517ea56a741f728ef290f54b77d736251f04b22 (diff)
downloadtigervnc-934f63cba1bf9646e3fd40b9575930e8c3371853.tar.gz
tigervnc-934f63cba1bf9646e3fd40b9575930e8c3371853.zip
Make winvnc4 and Windows vncconfig compilable via MinGW.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3913 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/rfb_win32/CleanDesktop.cxx')
-rw-r--r--win/rfb_win32/CleanDesktop.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/win/rfb_win32/CleanDesktop.cxx b/win/rfb_win32/CleanDesktop.cxx
index 39cca119..60ea1597 100644
--- a/win/rfb_win32/CleanDesktop.cxx
+++ b/win/rfb_win32/CleanDesktop.cxx
@@ -181,7 +181,7 @@ void CleanDesktop::disableWallpaper() {
}
// -=- Switch of normal wallpaper and notify apps
- SysParamsInfo(SPI_SETDESKWALLPAPER, 0, "", SPIF_SENDCHANGE);
+ SysParamsInfo(SPI_SETDESKWALLPAPER, 0, (PVOID) "", SPIF_SENDCHANGE);
restoreWallpaper = true;
} catch (rdr::Exception& e) {
@@ -225,7 +225,7 @@ void CleanDesktop::disablePattern() {
ImpersonateCurrentUser icu;
vlog.debug("disable desktop pattern");
- SysParamsInfo(SPI_SETDESKPATTERN, 0, "", SPIF_SENDCHANGE);
+ SysParamsInfo(SPI_SETDESKPATTERN, 0, (PVOID) "", SPIF_SENDCHANGE);
restorePattern = true;
} catch (rdr::Exception& e) {