1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00

(get_server_config): Declare set_fg as FARPROC to avoid a compiler warning.

This commit is contained in:
Juanma Barranquero 2006-11-08 01:06:45 +00:00
parent 947612be2c
commit 2dc07a1273

View file

@ -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);