2012/4/18 Paulo Alcantara <pcacjr@xxxxxxxxx>: > Hi Joao, > > On Wed, Apr 18, 2012 at 07:08:17PM -0300, João Paulo Rechi Vita wrote: >> @@ -188,6 +211,22 @@ static void report_map_read_cb(guint8 status, const guint8 *pdu, guint16 plen, >> else >> DBG("\t %02x %02x", value[i], value[i + 1]); >> } >> + >> + /* create UHID device */ >> + memset(&ev, 0, sizeof(ev)); >> + ev.type = UHID_CREATE; >> + /* TODO: get info from DIS */ >> + strcpy((char*)ev.u.create.name, "bluez-hog-device"); > > Wouldn't the correct coding style for the cast be "char *" ? > Yes, fixed. -- João Paulo Rechi Vita Openbossa Labs - INdT -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html