This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

why the warning?

U16 FFSStemq;
STR_SUBF code *s_subf;
...
        FFSStemq = (U16 *) s_subf;
U16 is unsigned short, STR_SUBF is a structure. the line of code (FFSStemq = ... ) gives WARNING C260 '=' pointer truncation.

nothing get truncated, there is no memory beyond 64k.

Erik

Parents Reply Children