diff options
-rw-r--r-- | lib-src/emacsclient.c | 2 |
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) if (hUser32 = LoadLibrary ("user32.dll")) { - void (*set_fg)(DWORD); + FARPROC set_fg; if (set_fg = GetProcAddress (hUser32, "AllowSetForegroundWindow")) set_fg (atoi (pid)); FreeLibrary (hUser32); |