- Cleared GCC warnings.
SVN r4159 (trunk)
This commit is contained in:
parent
6eb10a8079
commit
356bfe81e3
3 changed files with 4 additions and 4 deletions
|
|
@ -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]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue