summaryrefslogtreecommitdiff
path: root/src/synproto.h
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2011-06-23 11:19:18 +0100
committerPeter Hutterer <peter.hutterer@who-t.net>2011-08-25 09:50:33 +1000
commit495e0fe1b7afa9de04ee0341da1ade4d3d4f50b8 (patch)
treea1098e9328da259a3d6df53e345cedd01be489cf /src/synproto.h
parent2ebf984262d6bd471b4b5f1333785865e8d3c25f (diff)
Use CARD32 for timestamps
As GetTimeInMillis() returns a CARD32, switch every timestamp usage to follow. Signed-off-by: Daniel Stone <daniel@fooishbar.org> Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/synproto.h')
-rw-r--r--src/synproto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/synproto.h b/src/synproto.h
index 75f90e4..f9af37c 100644
--- a/src/synproto.h
+++ b/src/synproto.h
@@ -36,7 +36,7 @@
* A structure to describe the state of the touchpad hardware (buttons and pad)
*/
struct SynapticsHwState {
- int millis; /* Timestamp in milliseconds */
+ CARD32 millis; /* Timestamp in milliseconds */
int x; /* X position of finger */
int y; /* Y position of finger */
int z; /* Finger pressure */