fix build break.

This commit is contained in:
Hermet Park 2016-02-19 02:16:47 +09:00
parent 269bf8b393
commit 811875fd04
1 changed files with 2 additions and 1 deletions

View File

@ -1166,7 +1166,8 @@ edit_part_cursor_set(edit_data *ed,
else if (keyword_end && !isalpha(*itr))
{
/* Compare parsed keyword with possible part names. */
for (int i = 0; i < PART_SYNTAX_CNT; i++)
int i;
for ( i = 0; i < PART_SYNTAX_CNT; i++)
{
if (!strncmp(itr + 1, PART[i], strlen(PART[i])))
{