mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 17:33:08 +08:00
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:
@@ -306,7 +306,7 @@ unsigned long up_getwalltime(void);
|
||||
|
||||
#ifdef CONFIG_SIM_X11FB
|
||||
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);
|
||||
#ifdef CONFIG_FB_CMAP
|
||||
int up_x11cmap(unsigned short first, unsigned short len,
|
||||
|
||||
@@ -359,7 +359,7 @@ shmerror:
|
||||
****************************************************************************/
|
||||
|
||||
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)
|
||||
{
|
||||
XWindowAttributes windowAttributes;
|
||||
|
||||
Reference in New Issue
Block a user