fixed unsigned int conversion (thanks to Peter Caspers)
fixed index access
fixed index comparison int vs unsigned int
fixed clang warnings
revert parameter change
revert parameter change
added pragma directive to avoid clang++ warning
Fixed calls to renamed method.
Restore diagnostics after the skipped warning.
Merge pull request #30.
Merge remote-tracking branch: upstream/master