2014-05-09 18:30:01

by Petri Gynther

[permalink] [raw]
Subject: [PATCH 1/3] hog: Fix report_value_cb() signature

Fix report_value_cb() signature to match GAttribNotifyFunc.
---
profiles/input/hog.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/profiles/input/hog.c b/profiles/input/hog.c
index 12bc19a..9f10fa4 100644
--- a/profiles/input/hog.c
+++ b/profiles/input/hog.c
@@ -105,8 +105,7 @@ struct report {
static gboolean suspend_supported = FALSE;
static GSList *devices = NULL;

-static void report_value_cb(const uint8_t *pdu, uint16_t len,
- gpointer user_data)
+static void report_value_cb(const guint8 *pdu, guint16 len, gpointer user_data)
{
struct report *report = user_data;
struct hog_device *hogdev = report->hogdev;
--
1.9.1.423.g4596e3a



2014-05-09 19:09:22

by Johan Hedberg

[permalink] [raw]
Subject: Re: [PATCH 1/3] hog: Fix report_value_cb() signature

Hi Petri,

On Fri, May 09, 2014, Petri Gynther wrote:
> Fix report_value_cb() signature to match GAttribNotifyFunc.
> ---
> profiles/input/hog.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)

All three patches have been applied. Thanks.

Johan