mirror of
https://github.com/intrepidcs/libicsneo.git
synced 2026-08-05 09:28:40 +02:00
Settings: Mark termination enables as an unaligned ptr
Unfortunately, the termination enables are not always at an aligned boundary, and MSVC needs to taint the ptr type with __unaligned in that case.
This commit is contained in:
@@ -171,7 +171,7 @@ public:
|
||||
}
|
||||
|
||||
protected:
|
||||
const uint64_t* getTerminationEnables() const override {
|
||||
ICSNEO_UNALIGNED(const uint64_t*) getTerminationEnables() const override {
|
||||
auto cfg = getStructurePointer<radgigalog_settings_t>();
|
||||
if(cfg == nullptr)
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user