Linux bluetooth development
 help / color / mirror / Atom feed
* [PATCH obexd] Fix compiler warning
@ 2011-07-18 11:29 Slawomir Bochenski
  2011-07-18 12:12 ` Slawomir Bochenski
  2011-07-18 12:54 ` Marcel Holtmann
  0 siblings, 2 replies; 4+ messages in thread
From: Slawomir Bochenski @ 2011-07-18 11:29 UTC (permalink / raw)
  To: linux-bluetooth; +Cc: Slawomir Bochenski

---
 gobex/gobex.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/gobex/gobex.c b/gobex/gobex.c
index 93be21f..173912f 100644
--- a/gobex/gobex.c
+++ b/gobex/gobex.c
@@ -643,8 +643,8 @@ static void handle_request(GObex *obex, GObexPacket *req)
 
 	op = g_obex_packet_get_operation(req, NULL);
 
-	match = g_slist_find_custom(obex->req_handlers, GUINT_TO_POINTER(op),
-							req_handler_cmpop);
+	match = g_slist_find_custom(obex->req_handlers,
+			GUINT_TO_POINTER((guint)op), req_handler_cmpop);
 	if (match) {
 		struct req_handler *handler = match->data;
 		handler->func(obex, req, handler->user_data);
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-07-18 13:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-18 11:29 [PATCH obexd] Fix compiler warning Slawomir Bochenski
2011-07-18 12:12 ` Slawomir Bochenski
2011-07-18 12:54 ` Marcel Holtmann
2011-07-18 13:09   ` Slawomir Bochenski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox