aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src')
-rw-r--r--lib-src/emacsclient.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib-src/emacsclient.c b/lib-src/emacsclient.c
index 3c3b27374fc..2ad3701e07a 100644
--- a/lib-src/emacsclient.c
+++ b/lib-src/emacsclient.c
@@ -510,7 +510,7 @@ get_server_config (server, authentication)
510 510
511 if (hUser32 = LoadLibrary ("user32.dll")) 511 if (hUser32 = LoadLibrary ("user32.dll"))
512 { 512 {
513 void (*set_fg)(DWORD); 513 FARPROC set_fg;
514 if (set_fg = GetProcAddress (hUser32, "AllowSetForegroundWindow")) 514 if (set_fg = GetProcAddress (hUser32, "AllowSetForegroundWindow"))
515 set_fg (atoi (pid)); 515 set_fg (atoi (pid));
516 FreeLibrary (hUser32); 516 FreeLibrary (hUser32);