Synopsis: | Pointer to and from integer conversions shall not be used. |
Language: | C |
Severity Level: | 2 |
Category: | CONVERSIONS |
Description: |
Since such conversions involve implementation defined and undefined behaviour, it is safer to avoid their use.
Example: int i; int * ip; i = (int) ip; /* WRONG */ ip = (int *) i; /* WRONG */ |