[sr-dev] git:master:99d96c4f: core: cast to unsigned to make analyzers happy on index type