Fixed size_t warnings on 64-bit build

This commit is contained in:
Sam Lantinga 2011-01-22 15:58:21 -08:00
parent dcd48df016
commit f3716d8a4e
2 changed files with 3 additions and 2 deletions

View file

@ -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)
{