diff options
Diffstat (limited to 'src/pulsecore/idxset.c')
-rw-r--r-- | src/pulsecore/idxset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/idxset.c b/src/pulsecore/idxset.c index fb4497b8..b6423efd 100644 --- a/src/pulsecore/idxset.c +++ b/src/pulsecore/idxset.c @@ -66,7 +66,7 @@ unsigned pa_idxset_string_hash_func(const void *p) { const char *c; for (c = p; *c; c++) - hash = 31 * hash + *c; + hash = 31 * hash + (unsigned) *c; return hash; } |