Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:AL:TW
dia
dia-0.97.3-g_test_add_data_func_1.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File dia-0.97.3-g_test_add_data_func_1.patch of Package dia
From caddfcab250fe677ecf294fad835b71e6b10cf26 Mon Sep 17 00:00:00 2001 From: Hans Breuer <hans@breuer.org> Date: Fri, 3 Oct 2014 22:26:36 +0200 Subject: [PATCH] [warningectomy] incompatible pointer types passing ... test-boundingbox.c:152:58: warning: incompatible pointer types passing 'void (const struct _TestBeziers *)' to parameter of type 'GTestDataFunc' (aka 'void (*)(gconstpointer)') [-Wincompatible-pointer-types] g_test_add_data_func (testpath, &_test_beziers[i], _check_one_bezier); ^~~~~~~~~~~~~~~~~ test-svg.c:117:55: warning: incompatible pointer types passing 'void (const PathData *)' to parameter of type 'GTestDataFunc' (aka 'void (*)(gconstpointer)') [-Wincompatible-pointer-types] g_test_add_data_func (testpath, &_test_path[i], _check_one_path); ^~~~~~~~~~~~~~~ --- tests/test-boundingbox.c | 3 ++- tests/test-svg.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/test-boundingbox.c b/tests/test-boundingbox.c index f5b57250e..f542e590d 100644 --- a/tests/test-boundingbox.c +++ b/tests/test-boundingbox.c @@ -132,8 +132,9 @@ static struct _TestBeziers { #undef BEZ static void -_check_one_bezier (const struct _TestBeziers *test) +_check_one_bezier (gconstpointer p) { + const struct _TestBeziers *test = p; Rectangle rect; PolyBBExtras extra = {0, T*.7, T*.7, T*.7, 0 };
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor