[sr-dev] git:master: core: fixed compile warnings on mac os x