False positive on casting size_t cpp:S1905: Redundant casts should not be used

Hey there.

I’ve moved your post to the section on reporting false-positives.

Please have a look at this post and update your thread:

I would also ask that you make sure you can still reproduce the issue on SonarQube v9.9 LTS. SonarQube v9.6 is not supported anymore.