From 4ca397a160371aaf9119f26800ea81994bb46a45 Mon Sep 17 00:00:00 2001 From: Peter Osterlund Date: Mon, 15 Dec 2003 23:29:26 +0100 Subject: Fixed bug in change 5b55777bf27124647422000f9d71f273f7864406. --- synaptics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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...*/ -- cgit v1.2.3