make type conversion explicit to reduce compiler warnings
Merge remote-tracking branch 'upstream/master'
Revised code style and documentation for Compident
Some (incomplete) code revision for Tntnet and Maptarget