Author: sanda
Date: Sat Nov 6 01:04:21 2010
New Revision: 36147
URL: http://www.lyx.org/trac/changeset/36147
Log:
Compil fix
Modified:
lyx-devel/trunk/src/Author.cpp
Modified: lyx-devel/trunk/src/Author.cpp
==============================================================================
--- lyx-devel/trunk/src/Author.cpp Fri Nov 5 22:23:26 2010 (r36146)
+++ lyx-devel/trunk/src/Author.cpp Sat Nov 6 01:04:21 2010 (r36147)
@@ -30,7 +30,7 @@
// 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);
}