Merge pull request #267 from ChangwuShan/master

Change the 'type' positive maximum into 'INT16_MAX'