pkgsrc/net/DarwinStreamingServer/patches/patch-CommonUtilitiesLib_Task.h
joerg d8eebf4c22 Fetch is no longer interactive. Allow building on 64bit platforms, even
if it is likely not going to run. Fix CONF_FILES.
2013-03-24 16:51:07 +00:00

13 lines
1.2 KiB
C

$NetBSD: patch-CommonUtilitiesLib_Task.h,v 1.1 2013/03/24 16:51:07 joerg Exp $
--- CommonUtilitiesLib/Task.h.orig 2005-05-27 04:07:59.000000000 +0000
+++ CommonUtilitiesLib/Task.h
@@ -116,7 +116,7 @@ class Task
fUseThisThread = (TaskThread*)OSThread::GetCurrent();
Assert(fUseThisThread != NULL);
if (TASK_DEBUG) if (fTaskName[0] == 0) ::strcpy(fTaskName, " corrupt task");
- if (TASK_DEBUG) qtss_printf("Task::ForceSameThread fUseThisThread %lu task %s enque elem=%lu enclosing %lu\n", (UInt32)fUseThisThread, fTaskName,(UInt32) &fTaskQueueElem,(UInt32) this);
+ if (TASK_DEBUG) qtss_printf("Task::ForceSameThread fUseThisThread %lu task %s enque elem=%lu enclosing %lu\n", (UInt32)(uintptr_t)fUseThisThread, fTaskName,(UInt32)(uintptr_t) &fTaskQueueElem,(UInt32)(uintptr_t) this);
}
SInt64 CallLocked() { ForceSameThread();
fWriteLock = true;