Show: Delphi C++
CastToStruct -- Cast from Non-struct to struct Pointer
From RAD Studio
Go Up to C++ Audits
CastToStruct checks for cast from non-struct pointer to struct pointer.
Casting a non-structure type to a structure type and accessing a field can lead to memory access errors or data corruption.