C/C++ Compiler (cl.hlp) (Table of Contents; Topic list)
C4301
                                             Up Contents Index Back
────────────────────────────────────────────────────────────────────────────
 
     Compiler warning (level 4) C4301
 
     truncation during conversion of pointer to integral type
 
     A pointer was converted to a smaller integral type. Information
     was lost in the casting.
 
     The cast pointer address may no longer be valid.
 
     This warning is generated by the following example:
 
          int     i = 24;
          printf( "Address: %hi\n", ( short ) &i );
                                    -♦-