[geany/geany] cba7fc: Fix full hashing on 64-bit platforms
Nick Treleaven
git-noreply at xxxxx
Mon Aug 12 14:18:20 UTC 2013
Branch: refs/heads/master
Author: Nick Treleaven <nick.treleaven at btinternet.com>
Committer: Nick Treleaven <nick.treleaven at btinternet.com>
Date: Mon, 12 Aug 2013 14:18:20 UTC
Commit: cba7fcfe9559c01a97d044db29654530938c5290
https://github.com/geany/geany/commit/cba7fcfe9559c01a97d044db29654530938c5290
Log Message:
-----------
Fix full hashing on 64-bit platforms
Modified Paths:
--------------
tagmanager/src/tm_workspace.c
Modified: tagmanager/src/tm_workspace.c
2 files changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -207,7 +207,7 @@ static guint tm_file_inode_hash(gconstpointer key)
#ifdef TM_DEBUG
g_message ("Hash for '%s' is '%d'\n", filename, file_stat.st_ino);
#endif
- return g_direct_hash (GUINT_TO_POINTER ((guint)file_stat.st_ino));
+ return g_direct_hash ((gpointer)(gulong)file_stat.st_ino);
} else {
return 0;
}
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list