From 0e94180b745b03f0a9e2a6e4eb1ed9caca9e3f75 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 12 Jan 2005 08:39:57 +0000 Subject: cast length specifier to int. 2005-01-11 Not Zed * util/eab-book-util.c (eab_name_and_email_query): cast length specifier to int. svn path=/trunk/; revision=28370 --- addressbook/ChangeLog | 5 +++++ addressbook/util/eab-book-util.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'addressbook') 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 + + * util/eab-book-util.c (eab_name_and_email_query): cast length + specifier to int. + 2005-01-10 Hans Petter Jansson * 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); -- cgit dabot/npm_and_yarn/devel/electron4/files/bl-1.2.3'>dependabot/npm_and_yarn/devel/electron4/files/bl-1.2.3 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Chase shlib version of net-mgmt/net-snmp.kuriyama2008-03-271-1/+1