[sr-dev] git:master: cpl-c(k): fix gcc warning by making the check more explicit