Fixes the following issue seen on debian unstable:
gobex/gobex.c: In function 'handle_request':
gobex/gobex.c:646:50: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
static gint req_handler_cmpop(gconstpointer a, gconstpointer b)
{
const struct req_handler *handler = a;
- guint8 opcode = GPOINTER_TO_UINT(b);
+ guint opcode = GPOINTER_TO_UINT(b);
return (gint) handler->opcode - (gint) opcode;
}
static void handle_request(GObex *obex, GObexPacket *req)
{
GSList *match;
- guint8 op;
+ guint op;
if (g_obex_packet_get_operation(req, NULL) == G_OBEX_OP_CONNECT)
parse_connect_data(obex, req);