]> git.zerfleddert.de Git - usb-driver/blobdiff - usb-driver.c
remove ugly defines for 64bit support and solve the problem in a
[usb-driver] / usb-driver.c
index dc4cf8560b689f4f28a8dcf72d5ce2d353cfda1d..890e494287ffa87187a756f8a0e27a7ed12bcd09 100644 (file)
@@ -240,7 +240,7 @@ int do_wdioctl(int fd, unsigned int request, unsigned char *wdioctl) {
                return (*ioctl_func) (fd, request, wdioctl);
        }
 
-       switch(request) {
+       switch(request & ~(0xc0000000)) {
                case VERSION:
                        version = (struct version_struct*)(wdheader->data);
                        strcpy(version->version, "WinDriver no more");
Impressum, Datenschutz