Kaydet (Commit) 2c127c4d authored tarafından Rene Engelhard's avatar Rene Engelhard

fix build: (u)int16 -> (u)int16_t

üst 659d7eb8
...@@ -461,8 +461,8 @@ NPP_Shutdown(void) ...@@ -461,8 +461,8 @@ NPP_Shutdown(void)
NPError NPError
NPP_New(NPMIMEType pluginType, NPP_New(NPMIMEType pluginType,
NPP instance, NPP instance,
uint16 mode, uint16_t mode,
int16 /*argc*/, int16_t /*argc*/,
char* /*argn*/[], char* /*argn*/[],
char* /*argv*/[], char* /*argv*/[],
NPSavedData* /*saved*/) NPSavedData* /*saved*/)
...@@ -654,7 +654,7 @@ NPP_NewStream(NPP instance, ...@@ -654,7 +654,7 @@ NPP_NewStream(NPP instance,
NPMIMEType /*type*/, NPMIMEType /*type*/,
NPStream* /*stream*/, NPStream* /*stream*/,
NPBool /*seekable*/, NPBool /*seekable*/,
uint16 *stype) uint16_t *stype)
{ {
if (instance == NULL) if (instance == NULL)
return NPERR_INVALID_INSTANCE_ERROR; return NPERR_INVALID_INSTANCE_ERROR;
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
typedef struct _PluginInstance typedef struct _PluginInstance
{ {
uint16 mode; uint16_t mode;
#ifdef MOZ_X11 #ifdef MOZ_X11
Window window; Window window;
Display *display; Display *display;
...@@ -79,7 +79,7 @@ typedef struct _MimeTypeElement ...@@ -79,7 +79,7 @@ typedef struct _MimeTypeElement
typedef struct _PluginInstance typedef struct _PluginInstance
{ {
NPWindow* fWindow; NPWindow* fWindow;
uint16 fMode; uint16_t fMode;
HWND fhWnd; HWND fhWnd;
WNDPROC fDefaultWindowProc; WNDPROC fDefaultWindowProc;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment