2 ms·
The BSD solution to this problem is __DECONST(), a macro which basically casts through `uintptr_t`. #define __DECONST(type, var) ((type)(uintptr_t)(const
by anonymouscowar1 13y ago
The BSD solution to this problem is __DECONST(), a macro which basically casts through `uintptr_t`.
#define __DECONST(type, var) ((type)(uintptr_t)(const void*)(var))