vysheng/tgl — pull request #5 by lkraider (2014-11-15 01:23:32+00:00)
Title: Type warnings

When compiling on a 64bit architecture there are many type warnings.
Some even seem are errors, like inconsistent type for message id.

This fixes a few of these issues (not all).