[sr-dev] git:master:26785f86: core/cfg: cast pointer to long to silent compiler warning