aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-07-11 04:35:43 +0800
committerDan Winship <danw@src.gnome.org>2000-07-11 04:35:43 +0800
commitdd38706a9233bcda550f2fbc5c2df0dfe92f5fe5 (patch)
tree70110db37a321a46ed922d52884d680ecc9dd142
parentb3bdc8f5ea9cb2a023257efa696e99bca0665a7b (diff)
downloadgsoc2013-evolution-dd38706a9233bcda550f2fbc5c2df0dfe92f5fe5.tar
gsoc2013-evolution-dd38706a9233bcda550f2fbc5c2df0dfe92f5fe5.tar.gz
gsoc2013-evolution-dd38706a9233bcda550f2fbc5c2df0dfe92f5fe5.tar.bz2
gsoc2013-evolution-dd38706a9233bcda550f2fbc5c2df0dfe92f5fe5.tar.lz
gsoc2013-evolution-dd38706a9233bcda550f2fbc5c2df0dfe92f5fe5.tar.xz
gsoc2013-evolution-dd38706a9233bcda550f2fbc5c2df0dfe92f5fe5.tar.zst
gsoc2013-evolution-dd38706a9233bcda550f2fbc5c2df0dfe92f5fe5.zip
Fix warnings.
* e-html-utils.c: Fix warnings. svn path=/trunk/; revision=4048
-rw-r--r--e-util/ChangeLog4
-rw-r--r--e-util/e-html-utils.c7
2 files changed, 8 insertions, 3 deletions
diff --git a/e-util/ChangeLog b/e-util/ChangeLog
index 7a54bd6c17..f740d0e6d8 100644
--- a/e-util/ChangeLog
+++ b/e-util/ChangeLog
@@ -1,3 +1,7 @@
+2000-07-10 Dan Winship <danw@helixcode.com>
+
+ * e-html-utils.c: Fix warnings.
+
2000-07-08 Christopher James Lahey <clahey@helixcode.com>
* e-list.c, e-list.h: Added e_list_duplicate.
diff --git a/e-util/e-html-utils.c b/e-util/e-html-utils.c
index a1f76d4e68..62eb4c5d53 100644
--- a/e-util/e-html-utils.c
+++ b/e-util/e-html-utils.c
@@ -62,9 +62,9 @@ check_size (char **buffer, int *buffer_size, char *out, int len)
}
static char *
-url_extract (const char **text, gboolean check)
+url_extract (const unsigned char **text, gboolean check)
{
- const char *end = *text, *p;
+ const unsigned char *end = *text, *p;
char *out;
while (*end && !isspace (*end) && *end != '"')
@@ -215,7 +215,8 @@ e_text_to_html (const char *input, unsigned int flags)
case ' ':
if (flags & E_TEXT_TO_HTML_CONVERT_SPACES) {
- if (cur == input || *(cur + 1) == ' ') {
+ if (cur == (const unsigned char *)input ||
+ *(cur + 1) == ' ') {
strcpy (out, "&nbsp;");
out += 6;
break;