[sr-dev] git:master:d27bf087: core: cast to deal with analyzer warning