diff options
Diffstat (limited to 'proto-ft/ftnoir_protocol_ft.cpp')
-rw-r--r-- | proto-ft/ftnoir_protocol_ft.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/proto-ft/ftnoir_protocol_ft.cpp b/proto-ft/ftnoir_protocol_ft.cpp index 1e704c72..fbfc23d9 100644 --- a/proto-ft/ftnoir_protocol_ft.cpp +++ b/proto-ft/ftnoir_protocol_ft.cpp @@ -118,7 +118,7 @@ void freetrack::pose(const double* headpose) if (addr != addr_) assert(!"unaligned access"); - static_assert(sizeof(char[8])/sizeof(LONG) == 2, ""); + static_assert(sizeof(LONG) == 4, ""); for (unsigned k = 0; k < 2; k++) store(*(std::int32_t volatile*)&pMemData->table_ints[k], t.ints[k]); |