Remove remaining void* descriptor casts in the projects and demos that were not remov...
[pub/USBasp.git] / Demos / Device / LowLevel / Mouse / Descriptors.c
index 66fdde1..70538fe 100644 (file)
@@ -238,11 +238,11 @@ uint16_t CALLBACK_USB_GetDescriptor(const uint16_t wValue,
                        
                        break;
                case DTYPE_HID: 
                        
                        break;
                case DTYPE_HID: 
-                       Address = (void*)&ConfigurationDescriptor.HID_MouseHID;
+                       Address = &ConfigurationDescriptor.HID_MouseHID;
                        Size    = sizeof(USB_Descriptor_HID_t);
                        break;
                case DTYPE_Report: 
                        Size    = sizeof(USB_Descriptor_HID_t);
                        break;
                case DTYPE_Report: 
-                       Address = (void*)&MouseReport;
+                       Address = &MouseReport;
                        Size    = sizeof(MouseReport);
                        break;
        }
                        Size    = sizeof(MouseReport);
                        break;
        }