From 63a5564d72beb178d96b10bc34ef661611f25337 Mon Sep 17 00:00:00 2001 From: "warren%netscape.com" Date: Fri, 31 Jul 1998 21:06:04 +0000 Subject: [PATCH] Fixed breakage on irix -- couldn't cast void* to int. git-svn-id: svn://10.0.0.236/trunk@6971 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/modules/plugin/src/nsplugin.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/mozilla/modules/plugin/src/nsplugin.cpp b/mozilla/modules/plugin/src/nsplugin.cpp index 54f2a2c7e33..897c2b69e6d 100644 --- a/mozilla/modules/plugin/src/nsplugin.cpp +++ b/mozilla/modules/plugin/src/nsplugin.cpp @@ -524,7 +524,8 @@ nsPluginManager::GetURL(nsISupports* peer, const char* url, const char* target, e->altHost = altHost; e->referrer = referrer; e->forceJSEnabled = forceJSEnabled; - rslt = (NPError)PL_PostSynchronousEvent(mozilla_event_queue, &e->event); + /*rslt = (NPError)*/PL_PostSynchronousEvent(mozilla_event_queue, &e->event); + rslt = NPERR_NO_ERROR; /* XXX irix c++ compiler doesn't like the above cast */ } } instPeer->Release(); @@ -620,7 +621,8 @@ nsPluginManager::PostURL(nsISupports* peer, const char* url, const char* target, e->isFile = isFile; e->postHeadersLen = postHeadersLen; e->postHeaders = postHeaders; - rslt = (NPError)PL_PostSynchronousEvent(mozilla_event_queue, &e->event); + /*rslt = (NPError)*/PL_PostSynchronousEvent(mozilla_event_queue, &e->event); + rslt = NPERR_NO_ERROR; /* XXX irix c++ compiler doesn't like the above cast */ } } instPeer->Release();