diff options
Diffstat (limited to 'synaptics.c')
-rw-r--r-- | synaptics.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synaptics.c b/synaptics.c index 3897c52..7ada1da 100644 --- a/synaptics.c +++ b/synaptics.c @@ -1407,7 +1407,7 @@ SynapticsParseRawPacket(LocalDevicePtr local, SynapticsPrivate *priv, if (ret != Success) return ret; - memset(hw, 0, sizeof(hw)); + memset(hw, 0, sizeof(*hw)); buf = priv->protoBuf; if (newabs) { /* newer protos...*/ |