Implicit conversion loses integer precision:

I’m getting a warning. I will screenshot my coding below.
It will still allow me to run the code but i would like to fix this. I followed instructions perfectly but for some reason xcode is giving me this warning. Implicit conversion loses integer precision: ‘std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >::size_type’ (aka ‘unsigned long’) to ‘int32’ (aka ‘int’)

Privacy & Terms