Subversion Repositories filter_foundry

Compare Revisions

Regard whitespace Rev 22 → Rev 23

/trunk/symtab.c
39,7 → 39,7
unsigned long hash = 5381;
int c;
 
while (c = *str++)
while( (c = *str++) )
hash = ((hash << 5) + hash) + c; /* hash * 33 + c */
 
return hash;