diff options
author | Not Zed <NotZed@Ximian.com> | 2005-01-12 16:39:57 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2005-01-12 16:39:57 +0800 |
commit | 0e94180b745b03f0a9e2a6e4eb1ed9caca9e3f75 (patch) | |
tree | acf86605227830fb9fb586d3baab0b223a0151e8 | |
parent | a7fe81b508b9119ba60301fc5670bf98b9b8b8c7 (diff) | |
download | gsoc2013-evolution-0e94180b745b03f0a9e2a6e4eb1ed9caca9e3f75.tar.gz gsoc2013-evolution-0e94180b745b03f0a9e2a6e4eb1ed9caca9e3f75.tar.zst gsoc2013-evolution-0e94180b745b03f0a9e2a6e4eb1ed9caca9e3f75.zip |
cast length specifier to int.
2005-01-11 Not Zed <NotZed@Ximian.com>
* util/eab-book-util.c (eab_name_and_email_query): cast length
specifier to int.
svn path=/trunk/; revision=28370
-rw-r--r-- | addressbook/ChangeLog | 5 | ||||
-rw-r--r-- | addressbook/util/eab-book-util.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 34c1ef772d..4c9e7dad20 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,8 @@ +2005-01-11 Not Zed <NotZed@Ximian.com> + + * util/eab-book-util.c (eab_name_and_email_query): cast length + specifier to int. + 2005-01-10 Hans Petter Jansson <hpj@novell.com> * gui/widgets/e-minicard.c (e_minicard_activate_editor): When spawning diff --git a/addressbook/util/eab-book-util.c b/addressbook/util/eab-book-util.c index 4978fa7b59..a1ff103eeb 100644 --- a/addressbook/util/eab-book-util.c +++ b/addressbook/util/eab-book-util.c @@ -108,7 +108,7 @@ eab_name_and_email_query (EBook *book, while (*t && *t != '@') ++t; if (*t == '@' && escaped_name) { - email_query = g_strdup_printf ("(beginswith \"email\" \"%.*s@\")", t-escaped_email, escaped_email); + email_query = g_strdup_printf ("(beginswith \"email\" \"%.*s@\")", (int)(t-escaped_email), escaped_email); } else { email_query = g_strdup_printf ("(beginswith \"email\" \"%s\")", escaped_email); |