Fix sign warning in tag_hash().
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@5589 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
3a0a9d9a33
commit
e6a7d02fbe
@ -1186,7 +1186,7 @@ static gboolean tag_equal(gconstpointer v1, gconstpointer v2)
|
|||||||
static guint tag_hash(gconstpointer v)
|
static guint tag_hash(gconstpointer v)
|
||||||
{
|
{
|
||||||
const TMTag *tag = v;
|
const TMTag *tag = v;
|
||||||
const signed char *p;
|
const gchar *p;
|
||||||
guint32 h = 5381;
|
guint32 h = 5381;
|
||||||
|
|
||||||
h = (h << 5) + h + tag->type;
|
h = (h << 5) + h + tag->type;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user