[pacman-dev] [PATCH] Correct type for hash value storage

Allan McRae allan at archlinux.org
Wed Dec 29 20:12:43 EST 2010


Signed-off-by: Allan McRae <allan at archlinux.org>
---
 lib/libalpm/deps.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/libalpm/deps.h b/lib/libalpm/deps.h
index b720b36..34e09f6 100644
--- a/lib/libalpm/deps.h
+++ b/lib/libalpm/deps.h
@@ -31,7 +31,7 @@
 struct __pmdepend_t {
 	char *name;
 	char *version;
-	long name_hash;
+	unsigned long name_hash;
 	pmdepmod_t mod;
 };
 
-- 
1.7.3.4



More information about the pacman-dev mailing list