diff options
author | Juanma Barranquero <lekktu@gmail.com> | 2006-11-08 01:06:45 +0000 |
---|---|---|
committer | Juanma Barranquero <lekktu@gmail.com> | 2006-11-08 01:06:45 +0000 |
commit | 2dc07a1273fe9057a4c934dc8474fd0432213455 (patch) | |
tree | b84f4db8107d4d44ff2311f8131f4a69b77edfeb /lib-src | |
parent | 947612be2c71d2478179694e8dfa538b9e8e07c1 (diff) | |
download | emacs-2dc07a1273fe9057a4c934dc8474fd0432213455.tar.gz |
(get_server_config): Declare set_fg as FARPROC to avoid a compiler warning.
Diffstat (limited to 'lib-src')
-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); |