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 /addressbook/util | |
parent | a7fe81b508b9119ba60301fc5670bf98b9b8b8c7 (diff) | |
download | gsoc2013-evolution-0e94180b745b03f0a9e2a6e4eb1ed9caca9e3f75.tar gsoc2013-evolution-0e94180b745b03f0a9e2a6e4eb1ed9caca9e3f75.tar.gz gsoc2013-evolution-0e94180b745b03f0a9e2a6e4eb1ed9caca9e3f75.tar.bz2 gsoc2013-evolution-0e94180b745b03f0a9e2a6e4eb1ed9caca9e3f75.tar.lz gsoc2013-evolution-0e94180b745b03f0a9e2a6e4eb1ed9caca9e3f75.tar.xz 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
Diffstat (limited to 'addressbook/util')
-rw-r--r-- | addressbook/util/eab-book-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |