diff options
author | Peter Johnson <peter@tortall.net> | 2007-02-24 20:19:27 +0000 |
---|---|---|
committer | Peter Johnson <peter@tortall.net> | 2007-02-24 20:19:27 +0000 |
commit | 2f2180767d47ece430fee1343ee357ca97d24770 (patch) | |
tree | ef77eebb6a0ca80484e61b687ce69d603dddd190 /tools | |
parent | b0765a936c2cc5f0eb517c77660150aadb524e5a (diff) | |
download | yasm-2f2180767d47ece430fee1343ee357ca97d24770.tar.gz |
Massive warnings cleanup and cleanup of size_t vs uintptr_t vs unsigned long.
svn path=/trunk/yasm/; revision=1792
Diffstat (limited to 'tools')
-rw-r--r-- | tools/gap/gap.c | 2 | ||||
-rw-r--r-- | tools/gap/perfect.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/gap/gap.c b/tools/gap/gap.c index eb96d166..b9069f20 100644 --- a/tools/gap/gap.c +++ b/tools/gap/gap.c @@ -642,7 +642,7 @@ perfect_dir(FILE *out, const char *which, const char *parser, dir_list *dirs) key *k = yasm_xmalloc(sizeof(key)); k->name_k = yasm__xstrdup(d->name); - k->len_k = strlen(d->name); + k->len_k = (ub4)strlen(d->name); k->next_k = keys; keys = k; nkeys++; diff --git a/tools/gap/perfect.c b/tools/gap/perfect.c index 77464c25..c56304f6 100644 --- a/tools/gap/perfect.c +++ b/tools/gap/perfect.c @@ -515,7 +515,7 @@ static int augment( /* add childb to the queue of reachable things */ if (childb) childb->water_b = highwater; tabq[tail].b_q = childb; - tabq[tail].newval_q = i; /* how to make parent (myb) use this hash */ + tabq[tail].newval_q = (ub2)i; /* how to make parent (myb) use this hash */ tabq[tail].oldval_q = myb->val_b; /* need this for rollback */ tabq[tail].parent_q = q; ++tail; |