summaryrefslogtreecommitdiffhomepage
path: root/freetrackclient
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-28 17:30:06 +0200
committerStanislaw Halik <sthalik@misaki.pl>2017-10-28 17:32:38 +0200
commit29bf7f94eab413e25914c3939d7ff19ef0cd4c48 (patch)
tree25ed9eba28b27e921d1fccd68934546aac892cad /freetrackclient
parentb2ceb8fd3f3a6eb991e30844d567f9dade87a92d (diff)
freetrackclient: mark volatile
Diffstat (limited to 'freetrackclient')
-rw-r--r--freetrackclient/fttypes.h6
1 files changed, 3 insertions, 3 deletions
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;