Fixed size_t warnings on 64-bit build
This commit is contained in:
parent
dcd48df016
commit
f3716d8a4e
2 changed files with 3 additions and 2 deletions
|
@ -408,7 +408,7 @@ size_t SDL_utf8strlcpy(char *dst, const char *src, size_t dst_bytes)
|
|||
{
|
||||
size_t src_bytes = SDL_strlen(src);
|
||||
size_t bytes = SDL_min(src_bytes, dst_bytes - 1);
|
||||
int i = 0;
|
||||
size_t i = 0;
|
||||
char trailing_bytes = 0;
|
||||
if (bytes)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue