New commits:
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=5e57a0d264b9d7a6915eb804526b44436c5faa79
commit 5e57a0d264b9d7a6915eb804526b44436c5faa79
Author: André Draszik <[email protected]>
Date: Fri Aug 8 14:53:12 2014 +0100
systems/x11: fix incorrect API usage (dfb_surface_get_data_offsets)
.../systems/x11/primary.c: In function 'update_screen':
.../systems/x11/primary.c:878:41: warning: passing argument 1 of
'dfb_surface_get_data_offsets' from incompatible pointer type [enabled by
default]
.../src/core/surface.h:491:1: note: expected 'const struct
CoreSurfaceConfig * const' but argument is of type 'struct CoreSurface *'
This also fixes a few crashes when running the cairo test suite against
the DirectFB backend.
systems/x11/primary.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
http://git.directfb.org/?p=core/DirectFB.git;a=commit;h=e98a3ef06b6533caebfc6609a0f4f0a70e2a50b4
commit e98a3ef06b6533caebfc6609a0f4f0a70e2a50b4
Author: André Draszik <[email protected]>
Date: Fri Aug 8 14:52:13 2014 +0100
systems/x11: fix compiler warnings (unitialised variables)
.../systems/x11/primary.c: In function 'dfb_x11_update_screen_handler':
.../systems/x11/primary.c:922:42: warning: 'srces[2]' may be used
uninitialized in this function [-Wuninitialized]
.../systems/x11/primary.c:767:10: note: 'srces[2]' was declared here
.../systems/x11/primary.c:922:42: warning: 'pitches[2]' may be used
uninitialized in this function [-Wuninitialized]
.../systems/x11/primary.c:768:10: note: 'pitches[2]' was declared here
.../systems/x11/primary.c:922:42: warning: 'srces[1]' may be used
uninitialized in this function [-Wuninitialized]
.../systems/x11/primary.c:767:10: note: 'srces[1]' was declared here
.../systems/x11/primary.c:922:42: warning: 'pitches[1]' may be used
uninitialized in this function [-Wuninitialized]
.../systems/x11/primary.c:768:10: note: 'pitches[1]' was declared here
systems/x11/primary.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
_______________________________________________
directfb-cvs mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-cvs