aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mate
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2008-09-07 17:49:03 +0000
committerGuy Harris <guy@alum.mit.edu>2008-09-07 17:49:03 +0000
commitef51ff82fbe26250694875da0c55cd3a88d7b3a0 (patch)
tree42b3c091c7363b5a2fbfd33298faa12f9ee84097 /plugins/mate
parent17df3adc808fa2de73513d9281a79d67b617bff3 (diff)
Get one more pointer difference.
svn path=/trunk/; revision=26163
Diffstat (limited to 'plugins/mate')
-rw-r--r--plugins/mate/mate_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mate/mate_util.c b/plugins/mate/mate_util.c
index a2ac794d79..8caa3e9151 100644
--- a/plugins/mate/mate_util.c
+++ b/plugins/mate/mate_util.c
@@ -1030,7 +1030,7 @@ extern AVPL* new_avpl_loose_match(const gchar* name,
AVPL* newavpl = new_avpl(scs_subscribe(avp_strings, name));
AVPN* co = NULL;
AVPN* cs = NULL;
- gint c;
+ ptrdiff_t c;
AVP* m;
AVP* copy;
@@ -1052,7 +1052,7 @@ extern AVPL* new_avpl_loose_match(const gchar* name,
}
- c = (guint) co->avp->n - (guint) cs->avp->n;
+ c = ADDRDIFF(co->avp->n, cs->avp->n);
if ( c > 0 ) {
if (co->avp) co = co->next;