Commit 5ed7a372 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

use the constant INVALID_FILE_HANDLE instead of 0xFFFFFFFF. Fixes shared

2008-09-01  Sven Neumann  <sven@gimp.org>

	* app/plug-in/gimppluginshm.c (gimp_plug_in_shm_new): use the
	constant INVALID_FILE_HANDLE instead of 0xFFFFFFFF. Fixes shared
	memory tile transport on 64bit Windows systems.


svn path=/trunk/; revision=26827
parent a5f83456
2008-09-01 Sven Neumann <sven@gimp.org>
* app/plug-in/gimppluginshm.c (gimp_plug_in_shm_new): use the
constant INVALID_FILE_HANDLE instead of 0xFFFFFFFF. Fixes shared
memory tile transport on 64bit Windows systems.
2008-09-01 Sven Neumann <sven@gimp.org>
* app/paint-funcs/paint-funcs.[ch]: added clear_region().
......
......@@ -142,7 +142,7 @@ gimp_plug_in_shm_new (void)
g_snprintf (fileMapName, sizeof (fileMapName), "GIMP%d.SHM", pid);
/* Create the file mapping into paging space */
shm->shm_handle = CreateFileMapping ((HANDLE) 0xFFFFFFFF, NULL,
shm->shm_handle = CreateFileMapping (INVALID_FILE_HANDLE, NULL,
PAGE_READWRITE, 0,
TILE_MAP_SIZE,
fileMapName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment