diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-05-28 01:05:45 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2006-05-28 01:05:45 +0000 |
commit | 2c54414ff1d4a90c06e6e9f3ee5d78ecd2f3977e (patch) | |
tree | 1df73401566cc9a34b4156d98f3a8ecd29f14157 /hid_darwin.c | |
parent | 0d73c7d8ebc049bf080d28f0c0f96861f4fe2312 (diff) |
compiles and works on GNU/Linux now, but needs to have the new open methods implemented
svn path=/trunk/externals/hcs/hid/; revision=5146
Diffstat (limited to 'hid_darwin.c')
-rw-r--r-- | hid_darwin.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/hid_darwin.c b/hid_darwin.c index b9da2f9..07076b3 100644 --- a/hid_darwin.c +++ b/hid_darwin.c @@ -416,8 +416,8 @@ void hid_print_device_list(t_hid *x) void hid_platform_specific_info(t_hid *x) { pRecDevice pCurrentHIDDevice = NULL; - char vendor_id_pointer[7]; - char product_id_pointer[7]; + char vendor_id_string[7]; + char product_id_string[7]; t_symbol *output_symbol; t_atom *output_atom = getbytes(sizeof(t_atom)); @@ -450,15 +450,15 @@ void hid_platform_specific_info(t_hid *x) outlet_anything( x->x_status_outlet, gensym("transport"), 1, output_atom); /* vendor id */ - sprintf(vendor_id_pointer,"0x%04x", + sprintf(vendor_id_string,"0x%04x", (unsigned int)pCurrentHIDDevice->vendorID); - SETSYMBOL(output_atom, gensym(vendor_id_pointer)); + SETSYMBOL(output_atom, gensym(vendor_id_string)); outlet_anything( x->x_status_outlet, gensym("vendorID"), 1, output_atom); /* product id */ - sprintf(product_id_pointer,"0x%04x", + sprintf(product_id_string,"0x%04x", (unsigned int)pCurrentHIDDevice->productID); - SETSYMBOL(output_atom, gensym(product_id_pointer)); + SETSYMBOL(output_atom, gensym(product_id_string)); outlet_anything( x->x_status_outlet, gensym("productID"), 1, output_atom); } |