[anjuta] dir-project: Fix compiler warning
- From: Sebastien Granjoux <sgranjoux src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] dir-project: Fix compiler warning
- Date: Tue, 21 May 2013 19:26:02 +0000 (UTC)
commit b22966388c2ad64a3bf477e069169d6234dc8951
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 2301e1d..a33d01e 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]