[OS/2] fix up more plugin build bustage following bug 453883

(for some reason this only affects TB builds and went unnoticed until now)
This commit is contained in:
Peter Weilbacher 2008-09-28 10:45:09 +03:00
parent 4527d5d1a8
commit bace29eb8b
3 changed files with 6 additions and 6 deletions

View File

@ -69,8 +69,8 @@ void NPP_Shutdown(void)
//---------------------------------------------------------------------------
NPError NP_LOADDS NPP_New(NPMIMEType pluginType,
NPP pInstance,
uint16 mode,
int16 argc,
uint16_t mode,
int16_t argc,
char* argn[],
char* argv[],
NPSavedData* saved)
@ -223,9 +223,9 @@ NPError NP_LOADDS NPP_SetWindow(NPP pInstance, NPWindow * pNPWindow)
NPError NP_LOADDS
NPP_NewStream(NPP pInstance,
NPMIMEType type,
NPStream *stream,
NPStream *stream,
NPBool seekable,
uint16 *stype)
uint16_t *stype)
{
dbgOut1("NPP_NewStream");
if(pInstance == NULL)

View File

@ -543,7 +543,7 @@ void CPlugin::URLNotify(const char * szURL)
NPN_DestroyStream(m_pNPInstance, pStream, NPRES_DONE);
}
NPError CPlugin::newStream(NPMIMEType type, NPStream *stream, NPBool seekable, uint16 *stype)
NPError CPlugin::newStream(NPMIMEType type, NPStream *stream, NPBool seekable, uint16_t *stype)
{
if (!m_bWaitingStreamFromPFS)
return NPERR_NO_ERROR;

View File

@ -96,7 +96,7 @@ public:
// NP API handlers
void print(NPPrint * pNPPrint);
void URLNotify(const char * szURL);
NPError newStream(NPMIMEType type, NPStream *stream, NPBool seekable, uint16 *stype);
NPError newStream(NPMIMEType type, NPStream *stream, NPBool seekable, uint16_t *stype);
NPError destroyStream(NPStream *stream, NPError reason);
// Windows message handlers