removed GNU extension: void * are not allowed in arithmetic