diff options
author | Dean Camera <dean@fourwalledcubicle.com> | 2010-08-29 13:21:14 +0000 |
---|---|---|
committer | Dean Camera <dean@fourwalledcubicle.com> | 2010-08-29 13:21:14 +0000 |
commit | b3c6599bb7ab8518c3a457579c538c6520e85b01 (patch) | |
tree | 657388ca4083d6124dea9e017bd637732e20c6fa /Demos/Device/LowLevel/Mouse | |
parent | 263178fbb653703273ca3684f16de0ee185f0ae1 (diff) | |
download | lufa-b3c6599bb7ab8518c3a457579c538c6520e85b01.tar.gz lufa-b3c6599bb7ab8518c3a457579c538c6520e85b01.tar.bz2 lufa-b3c6599bb7ab8518c3a457579c538c6520e85b01.zip |
Remove remaining void* descriptor casts in the projects and demos that were not removed when the GetDescriptor callback function's signature was altered.
Diffstat (limited to 'Demos/Device/LowLevel/Mouse')
-rw-r--r-- | Demos/Device/LowLevel/Mouse/Descriptors.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Demos/Device/LowLevel/Mouse/Descriptors.c b/Demos/Device/LowLevel/Mouse/Descriptors.c index 66fdde148..70538fe5c 100644 --- a/Demos/Device/LowLevel/Mouse/Descriptors.c +++ b/Demos/Device/LowLevel/Mouse/Descriptors.c @@ -238,11 +238,11 @@ uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue, break; case DTYPE_HID: - Address = (void*)&ConfigurationDescriptor.HID_MouseHID; + Address = &ConfigurationDescriptor.HID_MouseHID; Size = sizeof(USB_Descriptor_HID_t); break; case DTYPE_Report: - Address = (void*)&MouseReport; + Address = &MouseReport; Size = sizeof(MouseReport); break; } |