fix warning: passing argument 4 of up_x11initialize from incompatible pointer type
Change-Id: I8fbb506d104dd6a0c41c86ca977e28097694910b Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
parent
72a0934bcc
commit
5c5b4cc3c9
2 changed files with 2 additions and 2 deletions
|
|
@ -306,7 +306,7 @@ unsigned long up_getwalltime(void);
|
||||||
|
|
||||||
#ifdef CONFIG_SIM_X11FB
|
#ifdef CONFIG_SIM_X11FB
|
||||||
int up_x11initialize(unsigned short width, unsigned short height,
|
int up_x11initialize(unsigned short width, unsigned short height,
|
||||||
void **fbmem, unsigned int *fblen, unsigned char *bpp,
|
void **fbmem, size_t *fblen, unsigned char *bpp,
|
||||||
unsigned short *stride);
|
unsigned short *stride);
|
||||||
#ifdef CONFIG_FB_CMAP
|
#ifdef CONFIG_FB_CMAP
|
||||||
int up_x11cmap(unsigned short first, unsigned short len,
|
int up_x11cmap(unsigned short first, unsigned short len,
|
||||||
|
|
|
||||||
|
|
@ -359,7 +359,7 @@ shmerror:
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
int up_x11initialize(unsigned short width, unsigned short height,
|
int up_x11initialize(unsigned short width, unsigned short height,
|
||||||
void **fbmem, unsigned int *fblen, unsigned char *bpp,
|
void **fbmem, size_t *fblen, unsigned char *bpp,
|
||||||
unsigned short *stride)
|
unsigned short *stride)
|
||||||
{
|
{
|
||||||
XWindowAttributes windowAttributes;
|
XWindowAttributes windowAttributes;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue