The warning concerns the return value of stbi_err, which is an int, being converted to a pointer. In VS2015 it seems casting directly from a 32-bit int to a 64-bit pointer triggers this warning. Worked around by first converting to a 64-bit int (here size_t) and then to a pointer.master
parent
6d613ed8ce
commit
26c98260b6
1 changed files with 2 additions and 2 deletions
Loading…
Reference in New Issue