- Cleared GCC warnings.

SVN r4159 (trunk)
This commit is contained in:
Braden Obrzut 2013-02-22 18:16:23 +00:00
commit 356bfe81e3
3 changed files with 4 additions and 4 deletions

View file

@ -7856,7 +7856,7 @@ static void ShowProfileData(TArray<ProfileCollector> &profiles, long ilimit,
}
// Module name
mysnprintf(modname, sizeof(modname), prof->Module->GetModuleName());
mysnprintf(modname, sizeof(modname), "%s", prof->Module->GetModuleName());
// Script/function name
if (functions)
@ -7932,7 +7932,7 @@ CCMD(acsprofile)
// If it's a name, set the sort method. We accept partial matches for
// options that are shorter than the sort name.
size_t optlen = strlen(argv[i]);
int j;
unsigned int j;
for (j = 0; j < countof(sort_names); ++j)
{
if (optlen < sort_match_len[j] || optlen > strlen(sort_names[j]))