diff options
author | Frederik Gladhorn <frederik.gladhorn@digia.com> | 2013-07-02 17:59:00 +0200 |
---|---|---|
committer | Kai Koehne <kai.koehne@digia.com> | 2013-07-10 10:53:25 +0200 |
commit | a8b92fc819753c757ca8bc66359d091e16e24642 (patch) | |
tree | 06e42c69d5de56b0d343830f644c14a5b866008c /src/libs/installer/environmentvariablesoperation.cpp | |
parent | 765372f3b9ecad6ffd19cc047e23970047f556b2 (diff) |
Fix parameter type
SendMessageTimeout takes a PDWORD_PTR
This fixes compilation on 64 bit.
Change-Id: I5eb1e7fee0c19b48d7f294c1703c104a79ab17ea
Reviewed-by: Jan Arve Sæther <jan-arve.saether@digia.com>
Reviewed-by: Kai Koehne <kai.koehne@digia.com>
Diffstat (limited to 'src/libs/installer/environmentvariablesoperation.cpp')
-rw-r--r-- | src/libs/installer/environmentvariablesoperation.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libs/installer/environmentvariablesoperation.cpp b/src/libs/installer/environmentvariablesoperation.cpp index 192272a8d..e66c6fc0d 100644 --- a/src/libs/installer/environmentvariablesoperation.cpp +++ b/src/libs/installer/environmentvariablesoperation.cpp @@ -71,7 +71,7 @@ static bool broadcastChange() { // Use SendMessageTimeout to Broadcast a message to the whole system to update settings of all // running applications. This is needed to activate the changes done above without logout+login. // Note that cmd.exe does not respond to any WM_SETTINGCHANGE messages... - DWORD aResult = 0; + DWORD_PTR aResult = 0; LRESULT sendresult = SendMessageTimeout(HWND_BROADCAST, WM_SETTINGCHANGE, 0, (LPARAM) "Environment", SMTO_BLOCK | SMTO_ABORTIFHUNG, 5000, &aResult); if (sendresult == 0 || aResult != 0) { |