Controls the recognition of the conversion of pointer values to incorrectly-sized integral values.
#pragma warn_ptr_int_conv on | off | reset
If you enable this pragma, the compiler issues a warning message if an expression attempts to convert a pointer value to an integral type that is not large enough to hold the pointer value.
#pragma warn_ptr_int_conv on
char *my_ptr;
char too_small = (char)my_ptr; /* WARNING: char is too small. */
See also warn_any_ptr_int_conv.