URL:
https://github.com/SSSD/sssd/pull/518
Author: fidencio
Title: #518: PYSSS_MURMUR: Fix [-Wsign-compare] found by gcc
Action: opened
PR body:
"""
While building the project I've noticed the following warning:
../src/python/pysss_murmur.c: In function ‘py_murmurhash3’:
../src/python/pysss_murmur.c:50:25: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]
(size_t)key_len > input_len) {
^
Previously we were comparing key_len(long) with the output of strlen(key)
(size_t), thus the (size_t) cast.
Currently, we can jut compare key_len with input_len without issues and
without the needed to the cast.
Issue has been introduced as part of 41454a64c7.
Signed-off-by: Fabiano Fidêncio <fidencio(a)redhat.com>
"""
To pull the PR as Git branch:
git remote add ghsssd
https://github.com/SSSD/sssd
git fetch ghsssd pull/518/head:pr518
git checkout pr518