[anjuta] dir-project: fix compile error



commit 15d803e41f5750dddb89bc0b91a954ba5e3fc52d
Author: Carl-Anton Ingmarsson <ca ingmarsson gmail com>
Date:   Sun Apr 28 22:27:37 2013 +0200

    dir-project: fix compile error

 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 95a95ac..2301e1d 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, "(.{%d})", ptr - next);
+                       g_string_append_printf (regex, "(.{%ld})", ptr - next);
                }
                else if (*ptr == '\\')
                {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]