Missed incorrect type specifier
Merge pull request #1169 from seanpaultaylor/next

Fixed incorrect type specifier
Fixed #1128