aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/ename/e-address-western.c
diff options
context:
space:
mode:
authorMichael Meeks <michael@helixcode.com>2000-10-27 05:20:51 +0800
committerMichael Meeks <mmeeks@src.gnome.org>2000-10-27 05:20:51 +0800
commit74c9e1118fdded8db3cf6e84478b2a23f1f13c0e (patch)
tree087a8eeaceaf2602de63b38b06b3b8190a3700a8 /e-util/ename/e-address-western.c
parent0a6f70d432d62ed09dcc3dda1eaa0fb9ed35065e (diff)
downloadgsoc2013-evolution-74c9e1118fdded8db3cf6e84478b2a23f1f13c0e.tar.gz
gsoc2013-evolution-74c9e1118fdded8db3cf6e84478b2a23f1f13c0e.tar.zst
gsoc2013-evolution-74c9e1118fdded8db3cf6e84478b2a23f1f13c0e.zip
unsigned chars.
2000-10-26 Michael Meeks <michael@helixcode.com> * ename/e-address-western.c (e_address_western_is_postal): unsigned chars. * ename/e-name-western.c (e_name_western_get_one_prefix_at_str): cast to unsigned char. svn path=/trunk/; revision=6212
Diffstat (limited to 'e-util/ename/e-address-western.c')
-rw-r--r--e-util/ename/e-address-western.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/e-util/ename/e-address-western.c b/e-util/ename/e-address-western.c
index 9ab6568338..12e977b973 100644
--- a/e-util/ename/e-address-western.c
+++ b/e-util/ename/e-address-western.c
@@ -149,7 +149,7 @@ e_address_western_is_po_box (gchar *line)
deemed to be the line in the form of <town, region postal-code>. */
static gboolean
-e_address_western_is_postal (gchar *line)
+e_address_western_is_postal (guchar *line)
{
gboolean retval;
int cntr;
@@ -166,7 +166,7 @@ e_address_western_is_postal (gchar *line)
while (isspace(line[index]))
index++;
- if (!isalpha(line[index]))
+ if (!isalpha (line[index]))
return FALSE; /* FIXME: ugly control flow. */
cntr = strlen(line) - 1;