use correct type to initialize an array
Merge pull request #3309 from minggo/develop

use correct type to initialize an array