diff options
author | Michael Meeks <michael.meeks@suse.com> | 2011-11-08 12:33:13 +0000 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-11-08 12:36:08 +0000 |
commit | d448b59e4b808b2074cd733bb15ed55f851da5ed (patch) | |
tree | 027f259c30ddc6c533dc3f1b76e87f90c434a170 /extensions/source/plugin/unx | |
parent | 3f40276194c9dc06739d7aaae3a3dc64bfe18bc5 (diff) |
fix build against new npapi.h (some more)
Diffstat (limited to 'extensions/source/plugin/unx')
-rw-r--r-- | extensions/source/plugin/unx/npnapi.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/extensions/source/plugin/unx/npnapi.cxx b/extensions/source/plugin/unx/npnapi.cxx index 837a1f238293..ceb79cc3cbaf 100644 --- a/extensions/source/plugin/unx/npnapi.cxx +++ b/extensions/source/plugin/unx/npnapi.cxx @@ -56,7 +56,7 @@ void* CreateNewShell( void**, XLIB_Window ); // begin Netscape plugin api calls extern "C" { -static void* l_NPN_MemAlloc( uint32 nBytes ) +static void* l_NPN_MemAlloc( uint32_t nBytes ) { void* pMem = new char[nBytes]; return pMem; @@ -67,7 +67,7 @@ static void l_NPN_MemFree( void* pMem ) delete [] (char*)pMem; } -static uint32 l_NPN_MemFlush( uint32 /*nSize*/ ) +static uint32_t l_NPN_MemFlush( uint32_t /*nSize*/ ) { return 0; } @@ -209,7 +209,7 @@ static NPError l_NPN_NewStream( NPP instance, NPMIMEType type, const char* targe return aRet; } -static NPError l_NPN_PostURLNotify( NPP instance, const char* url, const char* target, uint32 len, const char* buf, NPBool file, void* notifyData ) +static NPError l_NPN_PostURLNotify( NPP instance, const char* url, const char* target, uint32_t len, const char* buf, NPBool file, void* notifyData ) { sal_uInt32 nInstance = pConnector->GetNPPID( instance ); if( nInstance == PluginConnector::UnknownNPPID ) @@ -234,7 +234,7 @@ static NPError l_NPN_PostURLNotify( NPP instance, const char* url, const char* t return aRet; } -static NPError l_NPN_PostURL( NPP instance, const char* url, const char* window, uint32 len, const char* buf, NPBool file ) +static NPError l_NPN_PostURL( NPP instance, const char* url, const char* window, uint32_t len, const char* buf, NPBool file ) { sal_uInt32 nInstance = pConnector->GetNPPID( instance ); if( nInstance == PluginConnector::UnknownNPPID ) @@ -340,7 +340,7 @@ static const char* l_NPN_UserAgent( NPP instance ) return pAgent; } -static int32 l_NPN_Write( NPP instance, NPStream* stream, int32 len, void* buffer ) +static int32_t l_NPN_Write( NPP instance, NPStream* stream, int32_t len, void* buffer ) { sal_uInt32 nFileID = pConnector->GetStreamID( stream ); if( nFileID == PluginConnector::UnknownStreamID ) |