During this section, I’ve come across an additional warning that doesn’t appear and isn’t addressed in this lecture. I’ve started looking into this, but I’m a beginner and can’t quite figure out what’s going on here (and wanting to address it in the spirit of sorting warnings).
It’s a C4267 warning - ‘return’: conversion from ‘size_t’ to ‘int32’, possible loss of data
For whatever reason, the compiler doesn’t like the return value on line 33 (return MyHiddenWord.length();). Code below…
https://gist.github.com/92408512049/4438c0ed2b77079cfa379923d89d31a1
Is anyone able to help me understand what’s happening here?