From 2c127c4d328780a0833d9559efc3a5d92bd045ed Mon Sep 17 00:00:00 2001 From: Rene Engelhard Date: Mon, 7 Nov 2011 23:55:40 +0000 Subject: fix build: (u)int16 -> (u)int16_t --- extensions/source/nsplugin/source/npshell.cxx | 6 +++--- extensions/source/nsplugin/source/npshell.hxx | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'extensions') diff --git a/extensions/source/nsplugin/source/npshell.cxx b/extensions/source/nsplugin/source/npshell.cxx index b1208d722caf..7fb1d52feb09 100644 --- a/extensions/source/nsplugin/source/npshell.cxx +++ b/extensions/source/nsplugin/source/npshell.cxx @@ -461,8 +461,8 @@ NPP_Shutdown(void) NPError NPP_New(NPMIMEType pluginType, NPP instance, - uint16 mode, - int16 /*argc*/, + uint16_t mode, + int16_t /*argc*/, char* /*argn*/[], char* /*argv*/[], NPSavedData* /*saved*/) @@ -654,7 +654,7 @@ NPP_NewStream(NPP instance, NPMIMEType /*type*/, NPStream* /*stream*/, NPBool /*seekable*/, - uint16 *stype) + uint16_t *stype) { if (instance == NULL) return NPERR_INVALID_INSTANCE_ERROR; diff --git a/extensions/source/nsplugin/source/npshell.hxx b/extensions/source/nsplugin/source/npshell.hxx index 8af8bc687535..c5821a0a10d4 100644 --- a/extensions/source/nsplugin/source/npshell.hxx +++ b/extensions/source/nsplugin/source/npshell.hxx @@ -37,7 +37,7 @@ typedef struct _PluginInstance { - uint16 mode; + uint16_t mode; #ifdef MOZ_X11 Window window; Display *display; @@ -79,7 +79,7 @@ typedef struct _MimeTypeElement typedef struct _PluginInstance { NPWindow* fWindow; - uint16 fMode; + uint16_t fMode; HWND fhWnd; WNDPROC fDefaultWindowProc; -- cgit v1.2.3