aboutsummaryrefslogtreecommitdiff
path: root/libnitrokey/device.h
diff options
context:
space:
mode:
Diffstat (limited to 'libnitrokey/device.h')
-rw-r--r--libnitrokey/device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libnitrokey/device.h b/libnitrokey/device.h
index f6d2380..329fd7e 100644
--- a/libnitrokey/device.h
+++ b/libnitrokey/device.h
@@ -92,13 +92,13 @@ public:
/*
* Sends packet of HID_REPORT_SIZE.
*/
- virtual int send(const void *packet);
+ virtual int send(volatile void *packet);
/*
* Gets packet of HID_REPORT_SIZE.
* Can sleep. See below.
*/
- virtual int recv(void *packet);
+ virtual int recv(volatile void *packet);
/***
* Returns true if some device is visible by OS with given VID and PID