* // Can now access elements of the configuration header struct using the -> indirection operator\r
* \endcode\r
*/\r
- #define DESCRIPTOR_PCAST(DescriptorPtr, Type) ((Type*)DescriptorPtr)\r
+ #define DESCRIPTOR_PCAST(DescriptorPtr, Type) ((Type*)(DescriptorPtr))\r
\r
/** Casts a pointer to a descriptor inside the configuration descriptor into the given descriptor\r
* type (as an actual struct instance rather than a pointer to a struct).\r