Darwin: Misc size_t warnings

This commit is contained in:
Zachary Waldowski
2013-11-30 03:03:00 -05:00
parent 6a6247d179
commit 0612081e6c
2 changed files with 2 additions and 2 deletions

View File

@@ -264,7 +264,7 @@ static int
open_temp_exec_file_dir (const char *dir)
{
static const char suffix[] = "/ffiXXXXXX";
int lendir = strlen (dir);
size_t lendir = strlen (dir);
char *tempname = __builtin_alloca (lendir + sizeof (suffix));
if (!tempname)