Please Clang's sanitizer, addendum.

This commit is contained in:
Andy Polyakov
2014-07-08 23:06:59 +02:00
parent 021e5043e5
commit d11c70b2c2
2 changed files with 5 additions and 3 deletions

View File

@@ -140,7 +140,7 @@ static unsigned long added_obj_hash(const ADDED_OBJ *ca)
return 0;
}
ret&=0x3fffffffL;
ret|=ca->type<<30L;
ret|=((unsigned long)ca->type)<<30L;
return(ret);
}
static IMPLEMENT_LHASH_HASH_FN(added_obj, ADDED_OBJ)