I'm using the .find() function to search through a string like so
but i'm getting warnings that possible loss of data could occur due to a conversion fromCode:int i;
i = string.find("whatever");
size_t to int.
I was told that I could just ignore it, because it still works because the string isn't that big, but I'd like to see what I could do to fix this.