Don't do pointer arithmetic on void*.
Reported by cppcheck. (portability) '(void*)((char*)current_attribute)' is of type 'void *'. When using void pointers in calculations, the behaviour is undefined.
Showing
Please register or sign in to comment