Merge r1210378: Fix a few compiler warning reported by Steffen: - some signed/unsigned mismatches - const for a function does not make sense