fix build: (u)int16 -> (u)int16_t
This commit is contained in:
parent
659d7eb810
commit
2c127c4d32
2 changed files with 5 additions and 5 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue