Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-02-27 11:31:10 +0300
committerCampbell Barton <ideasman42@gmail.com>2011-02-27 11:31:10 +0300
commit2e5eb4152262adfc382860073dc5e73ced187e35 (patch)
tree3589c86b41a503b729c5a82462ad599a14fed4f3 /source/blender/editors/uvedit/uvedit_parametrizer.c
parentf73c993b16c4083f0c72b87ba3f70fa12a5077df (diff)
pedantic warning cleanup, also remove texspace_edit() since its been added using a different method.
Diffstat (limited to 'source/blender/editors/uvedit/uvedit_parametrizer.c')
-rw-r--r--source/blender/editors/uvedit/uvedit_parametrizer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/editors/uvedit/uvedit_parametrizer.c b/source/blender/editors/uvedit/uvedit_parametrizer.c
index 981332c8fbf..1811819dda2 100644
--- a/source/blender/editors/uvedit/uvedit_parametrizer.c
+++ b/source/blender/editors/uvedit/uvedit_parametrizer.c
@@ -260,7 +260,7 @@ static int phash_size(PHash *ph)
static void phash_insert(PHash *ph, PHashLink *link)
{
int size = ph->cursize;
- int hash = PHASH_hash(ph, link->key);
+ uintptr_t hash = PHASH_hash(ph, link->key);
PHashLink *lookup = ph->buckets[hash];
if (lookup == NULL) {
@@ -296,7 +296,7 @@ static void phash_insert(PHash *ph, PHashLink *link)
static PHashLink *phash_lookup(PHash *ph, PHashKey key)
{
PHashLink *link;
- int hash = PHASH_hash(ph, key);
+ uintptr_t hash = PHASH_hash(ph, key);
for (link = ph->buckets[hash]; link; link = link->next)
if (link->key == key)
@@ -309,7 +309,7 @@ static PHashLink *phash_lookup(PHash *ph, PHashKey key)
static PHashLink *phash_next(PHash *ph, PHashKey key, PHashLink *link)
{
- int hash = PHASH_hash(ph, key);
+ uintptr_t hash = PHASH_hash(ph, key);
for (link = link->next; link; link = link->next)
if (link->key == key)