From e47137ad8db4f7ba86157fb147cff598ff2a7ee6 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Wed, 14 Mar 2007 14:32:44 +0000 Subject: [PATCH] please lint. git-svn-id: file:///svn/unbound/trunk@180 be551aaa-1e26-0410-a405-d3ace91eadb9 --- testcode/unitlruhash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testcode/unitlruhash.c b/testcode/unitlruhash.c index e1dd94614..8e936fe15 100644 --- a/testcode/unitlruhash.c +++ b/testcode/unitlruhash.c @@ -68,7 +68,7 @@ static void test_deldata(void*, void*); /* --- end test representation --- */ /** hash func, very bad to improve collisions. */ -static hashvalue_t myhash(int id) {return id & 0x0f;} +static hashvalue_t myhash(int id) {return (hashvalue_t)id & 0x0f;} /** allocate new key, fill in hash. */ static struct testkey* newkey(int id) { struct testkey* k = (struct testkey*)calloc(1, sizeof(struct testkey)); -- 2.47.2