Fixed bug in change 5b55777bf2.

This commit is contained in:
Peter Osterlund
2003-12-15 23:29:26 +01:00
parent 5b55777bf2
commit 4ca397a160

View File

@@ -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...*/