~siretart/ubuntu/utopic/blender/libav10

« back to all changes in this revision

Viewing changes to source/blender/blenlib/intern/BLI_ghash.c

Tags: upstream-2.40
ImportĀ upstreamĀ versionĀ 2.40

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**
2
 
 * $Id: BLI_ghash.c,v 1.4 2004/01/07 06:13:43 zuster Exp $
 
2
 * $Id: BLI_ghash.c,v 1.5 2005/03/09 19:45:54 lukep Exp $
3
3
 *
4
4
 * ***** BEGIN GPL/BL DUAL LICENSE BLOCK *****
5
5
 *
228
228
        unsigned int i= 0;
229
229
        unsigned char c;
230
230
        
231
 
        while (c= *s++)
 
231
        while ( (c= *s++) )
232
232
                i= i*37 + c;
233
233
                
234
234
        return i;