|ARM Technical Support Knowledge Articles|
Applies to: C51 C Compiler
Information in this article applies to:
When I compile my C source file the compiler reports the following diagnostic:
WARNING 260: POINTER TRUNCATION
This warning occurs when pointer truncation would occur as a result of converting a pointer either implicitly or explicitly converted to a pointer with a smaller offset.
The pointer is converted but the offset is truncated to fit into the smaller pointer (which is probably wrong).
Article last edited on: 2005-07-15 12:37:56
Did you find this article helpful? Yes No
How can we improve this article?