summaryrefslogtreecommitdiff
path: root/extensions
diff options
context:
space:
mode:
authorRene Engelhard <rene@debian.org>2011-11-07 23:55:40 +0000
committerRene Engelhard <rene@debian.org>2011-11-08 01:01:15 +0100
commit2c127c4d328780a0833d9559efc3a5d92bd045ed (patch)
treead9ccd2b6c9c50bf29bd4e1f14d1a646d5320346 /extensions
parent659d7eb810781033e7304cb7736a7b45692165f5 (diff)
fix build: (u)int16 -> (u)int16_t
Diffstat (limited to 'extensions')
-rw-r--r--extensions/source/nsplugin/source/npshell.cxx6
-rw-r--r--extensions/source/nsplugin/source/npshell.hxx4
2 files changed, 5 insertions, 5 deletions
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;