Fix warning

This commit is contained in:
Vladislav Vaintroub 2018-01-08 17:01:55 +00:00
parent 6d49ef49e5
commit 919169e1f9
2 changed files with 6 additions and 1 deletions

View File

@ -2068,7 +2068,7 @@ uint get_sql_xid(XID *xid, char *buf)
MY_INT64_NUM_DECIMAL_DIGITS, -10, xid->formatID);
}
return buf - orig_buf;
return (uint)(buf - orig_buf);
}

View File

@ -257,4 +257,9 @@ function addToResponseFile(filename, responseFile)
responseFile.WriteLine("\""+fso.GetFile(filename).Path+"\"");
}
}
else
{
echo("file " + filename + " not found. Can't generate symbols file");
WScript.Quit (1);
}
}