From 29bf7f94eab413e25914c3939d7ff19ef0cd4c48 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 28 Oct 2017 17:30:06 +0200 Subject: freetrackclient: mark volatile --- freetrackclient/fttypes.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'freetrackclient') diff --git a/freetrackclient/fttypes.h b/freetrackclient/fttypes.h index 033d183e..a3abea54 100644 --- a/freetrackclient/fttypes.h +++ b/freetrackclient/fttypes.h @@ -26,7 +26,7 @@ /* only 6 headpose floats and the data id are filled -sh */ typedef struct FTData__ { - int32_t DataID; + uint32_t DataID; int32_t CamWidth; int32_t CamHeight; /* virtual pose */ @@ -52,7 +52,7 @@ typedef struct FTData__ { float Y3; float X4; float Y4; -} FTData; +} volatile FTData; /* we add some shit at the end for other legacy proto, sadly */ @@ -65,4 +65,4 @@ typedef struct FTHeap__ { int32_t table_ints[2]; }; int32_t GameID2; -} FTHeap; +} volatile FTHeap; -- cgit v1.2.3