[anjuta/gnome-3-8] dir-project: Fix compiler warning
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta/gnome-3-8] dir-project: Fix compiler warning
- Date: Tue, 21 May 2013 19:34:17 +0000 (UTC)
commit 443172c8f456388c9058a993a6df3145dfb00c3c
Author: Kalev Lember <kalevlember gmail com>
Date: Tue May 21 10:56:11 2013 +0200
dir-project: Fix compiler warning
https://bugzilla.gnome.org/show_bug.cgi?id=700767
plugins/dir-project/dir-project.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/dir-project/dir-project.c b/plugins/dir-project/dir-project.c
index dc018c5..00612e4 100644
--- a/plugins/dir-project/dir-project.c
+++ b/plugins/dir-project/dir-project.c
@@ -268,7 +268,7 @@ dir_pattern_new (const gchar *pattern, gboolean reverse)
{
ptr++;
} while (*ptr == '?');
- g_string_append_printf (regex, "(.{%ld})", ptr - next);
+ g_string_append_printf (regex, "(.{%ld})", (long int) (ptr - next));
}
else if (*ptr == '\\')
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]