Fixed #4906 (False positive: void * calculation (cast))