Modify rule S1905: Remove link

The Geeksforgeeks article promotes the C-style casts without any note on
its dangerousness. The C++ alternative are presented as an adoc thing,
missing the point again.
This commit is contained in:
Marco Borgeaud 2023-10-16 14:26:05 +02:00 committed by Marco Borgeaud
parent 5ee8ae68cf
commit ccf6472c46

View File

@ -9,7 +9,7 @@ your cast might be redundant on one platform but not on the others.
== How to fix it
To fix your code remove the unnecessary casting expression.
To fix your code, remove the unnecessary casting expression.
=== Code examples
@ -36,7 +36,7 @@ int example(int i) {
== Resources
=== Documentation
* Geeksforgeeks - https://www.geeksforgeeks.org/type-conversion-in-c/[Type Conversion in C++]
* Wikipedia - https://en.wikipedia.org/wiki/Type_conversion[Type Conversion]
* Wikipedia - https://en.wikipedia.org/wiki/Strong_and_weak_typing[Strong and Weak Typing]
* Wikipedia - https://en.wikipedia.org/wiki/Polymorphism_(computer_science)[ Polymorphism (Computer Science)]