fix a compile warning

This patch fixes a compile warning in a build system where the macro __STDC_LIMIT_MACROS is predefined.
Merge pull request #56 from huahang/patch-6

fix a compile warning