mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Attempted fix for systems where sizeof(int) < sizeof(void*)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21770 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
839793e442
commit
32da350755
7 changed files with 43 additions and 28 deletions
|
@ -135,7 +135,7 @@ static const NSMapTableValueCallBacks WatcherMapValueCallBacks =
|
|||
HANDLE *handleArray;
|
||||
int num_handles;
|
||||
unsigned i;
|
||||
HANDLE handle;
|
||||
void *handle;
|
||||
int wait_timeout;
|
||||
DWORD wait_return;
|
||||
BOOL do_wait;
|
||||
|
@ -215,9 +215,9 @@ static const NSMapTableValueCallBacks WatcherMapValueCallBacks =
|
|||
hEnum = NSEnumerateMapTable(handleMap);
|
||||
|
||||
i = 0;
|
||||
while (NSNextMapEnumeratorPair(&hEnum, (void**)&handle, (void**)&watcher))
|
||||
while (NSNextMapEnumeratorPair(&hEnum, &handle, (void**)&watcher))
|
||||
{
|
||||
handleArray[i++] = handle;
|
||||
handleArray[i++] = (HANDLE)handle;
|
||||
}
|
||||
|
||||
do_wait = YES;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue