aboutsummaryrefslogtreecommitdiff
path: root/rmidevice/hiddevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'rmidevice/hiddevice.h')
-rw-r--r--rmidevice/hiddevice.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/rmidevice/hiddevice.h b/rmidevice/hiddevice.h
index 37749c7..fb3c848 100644
--- a/rmidevice/hiddevice.h
+++ b/rmidevice/hiddevice.h
@@ -34,7 +34,8 @@ public:
unsigned short len);
virtual int SetMode(int mode);
virtual int WaitForAttention(struct timeval * timeout = NULL, int *sources = NULL);
- virtual int GetAttentionReport(struct timeval * timeout, int *sources, unsigned char *buf, int *len);
+ virtual int GetAttentionReport(struct timeval * timeout, int *sources, unsigned char *buf,
+ unsigned int *len);
virtual void Close();
~HIDDevice() { Close(); }