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
This commit is contained in:

committed by
Sven Neumann

parent
a5f8345609
commit
5ed7a372ee
@ -1,3 +1,9 @@
|
||||
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);
|
||||
|
Reference in New Issue
Block a user