Remove some gcc-warnings.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1871 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-06-09 22:38:31 +00:00
parent 58a1a30397
commit 4afb3d702f

View File

@@ -104,7 +104,7 @@ _hashtabdel(Hashtab * htab, void *ptr, int freep)
if (h) {
if (freep)
free(h->ptr);
if (*(h->prev) = h->next)
if ((*(h->prev) = h->next))
h->next->prev = h->prev;
free(h);
return 0;
@@ -167,7 +167,7 @@ hashjpw(const char *ss)
for (; *s; ++s) {
h = (h << TWELVE) + *s;
if (g = h & HIGH_BITS)
if ((g = h & HIGH_BITS))
h = (h ^ (g >> SEVENTYFIVE)) & ~HIGH_BITS;
}
return h;