X-Git-Url: https://git.dlugolecki.net.pl/?p=vlp.git;a=blobdiff_plain;f=src%2Fint%2Fprocaddr.c;h=8ae23aa9fb6d4eb20771536a1986fc2ff70abd1e;hp=4977c69bfb72ca5984459cff9e10a1b0429d2623;hb=d2d59523f83b94a2f9a1333d0cd0f28a6e854938;hpb=8f5c6c27803b5f1728614a8c847a96c94ae62453 diff --git a/src/int/procaddr.c b/src/int/procaddr.c index 4977c69..8ae23aa 100644 --- a/src/int/procaddr.c +++ b/src/int/procaddr.c @@ -205,7 +205,7 @@ static int hash_mess(procaddr *mess) { return hash % (thisp->hash_size); } -static int hash_2( hash_1 ) hash_1;{ +static int hash_2(int hash_1 ) { return thisp->hash_size -2 - (hash_1 % (thisp->hash_size - 2)); }