mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Forgot to commit this hash fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@7711 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
05fbf4a225
commit
9882ff6686
1 changed files with 4 additions and 2 deletions
|
@ -1385,11 +1385,13 @@ stringDecrementCountAndFillHoleAt(NSGMutableCStringStruct *self,
|
|||
* an empty cache value, so we MUST NOT return a hash of zero.
|
||||
*/
|
||||
if (ret == 0)
|
||||
ret = 0xffffffff;
|
||||
ret = 0x0fffffff;
|
||||
else
|
||||
ret &= 0x0fffffff;
|
||||
}
|
||||
else
|
||||
{
|
||||
ret = 0xfffffffe; /* Hash for an empty string. */
|
||||
ret = 0x0ffffffe; /* Hash for an empty string. */
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue