Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix warning: passing argument 4 of up_x11initialize from incompatible… #100

Merged
merged 1 commit into from
Jan 15, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion arch/sim/src/sim/up_internal.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion arch/sim/src/sim/up_x11framebuffer.c
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ static inline int up_x11mapsharedmem(int depth, unsigned int fblen)
****************************************************************************/

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;
Expand Down