pkgsrc/net/DarwinStreamingServer/patches/patch-APIModules_QTSSAdminModule_AdminElementNode.cpp
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
605 B
C++

$NetBSD: patch-APIModules_QTSSAdminModule_AdminElementNode.cpp,v 1.1 2013/03/24 16:51:07 joerg Exp $
--- APIModules/QTSSAdminModule/AdminElementNode.cpp.orig 2003-08-15 23:52:42.000000000 +0000
+++ APIModules/QTSSAdminModule/AdminElementNode.cpp
@@ -883,7 +883,7 @@ inline SInt32 ElementNode::ResolveSPLKe
if (fElementMap != NULL && keyPtr != NULL && keyPtr->Len > 0)
{ osrefptr = fElementMap->Resolve(keyPtr);
if (osrefptr != NULL)
- index = (SInt32) osrefptr->GetObject();
+ index = (SInt32)(intptr_t) osrefptr->GetObject();
}
return index;