diff --git a/xpcom/glue/standalone/nsGlueLinkingOS2.cpp b/xpcom/glue/standalone/nsGlueLinkingOS2.cpp index 0f0e9ba1012a..45b72cdd4174 100644 --- a/xpcom/glue/standalone/nsGlueLinkingOS2.cpp +++ b/xpcom/glue/standalone/nsGlueLinkingOS2.cpp @@ -128,7 +128,7 @@ XPCOMGlueLoad(const char *xpcomFile) GetFrozenFunctionsFunc sym; - ulrc = DosQueryProcAddr(h, 0, "NS_GetFrozenFunctions", &sym); + ulrc = DosQueryProcAddr(h, 0, "NS_GetFrozenFunctions", (PFN*)&sym); if (ulrc != NO_ERROR) XPCOMGlueUnload();