mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
Compil fix
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36147 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
38e43ce4ca
commit
badbd3dcc3
@ -30,7 +30,7 @@ static int computeHash(docstring const & name,
|
||||
// Bernstein's hash function
|
||||
unsigned int hash = 5381;
|
||||
for (unsigned int i = 0; i < full_author_string.length(); ++i)
|
||||
hash = ((hash << 5) + hash) + unsigned int(full_author_string[i]);
|
||||
hash = ((hash << 5) + hash) + (unsigned int)(full_author_string[i]);
|
||||
return int(hash);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user