diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-05-08 16:54:07 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-05-08 16:54:07 +0400 |
commit | 62db610220867bb2b68a338b5fb8a2893f45fa80 (patch) | |
tree | f80ef9ab7d804e9bd0e31d6b8b2b155e1c164441 /source/blender/blenlib/BLI_smallhash.h | |
parent | 6b1b20ef0d17156c82a68d39142c41a24c1c5d47 (diff) |
use unsigned int's for smallhash, avoids using ABS when converting an
int from a key.
Diffstat (limited to 'source/blender/blenlib/BLI_smallhash.h')
-rw-r--r-- | source/blender/blenlib/BLI_smallhash.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/BLI_smallhash.h b/source/blender/blenlib/BLI_smallhash.h index 7b591c071c6..84cd68e9d9c 100644 --- a/source/blender/blenlib/BLI_smallhash.h +++ b/source/blender/blenlib/BLI_smallhash.h @@ -49,9 +49,9 @@ typedef struct SmallHash { SmallHashEntry _stacktable[SMSTACKSIZE]; SmallHashEntry _copytable[SMSTACKSIZE]; SmallHashEntry *stacktable, *copytable; - int used; - int curhash; - int size; + unsigned int used; + unsigned int curhash; + unsigned int size; } SmallHash; typedef struct { |