Fixes for 64bit systems .. mostly cosmetic avoidance of compiler warnings.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@22282 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2006-01-10 10:29:11 +00:00
parent dc79072c9f
commit 06981169ed
19 changed files with 105 additions and 62 deletions

View file

@ -279,7 +279,7 @@ pty_slave(const char* name)
- (void) gcFinalize
{
[tasksLock lock];
NSMapRemove(activeTasks, (void*)_taskId);
NSMapRemove(activeTasks, (void*)(intptr_t)_taskId);
[tasksLock unlock];
}
@ -890,7 +890,7 @@ pty_slave(const char* name)
- (void) _terminatedChild: (int)status
{
[tasksLock lock];
NSMapRemove(activeTasks, (void*)_taskId);
NSMapRemove(activeTasks, (void*)(intptr_t)_taskId);
[tasksLock unlock];
_terminationStatus = status;
_hasCollected = YES;
@ -1260,7 +1260,7 @@ GSCheckTasks()
NSTask *t;
[tasksLock lock];
t = (NSTask*)NSMapGet(activeTasks, (void*)result);
t = (NSTask*)NSMapGet(activeTasks, (void*)(intptr_t)result);
[tasksLock unlock];
if (t != nil)
{
@ -1491,7 +1491,7 @@ GSCheckTasks()
ASSIGN(_launchPath, lpath); // Actual path used.
[tasksLock lock];
NSMapInsert(activeTasks, (void*)_taskId, (void*)self);
NSMapInsert(activeTasks, (void*)(intptr_t)_taskId, (void*)self);
[tasksLock unlock];
/*