GNOME Bugzilla – Bug 700767
dir-project: Fix compiler warning
Last modified: 2013-05-26 13:23:32 UTC
In 3.8.3, after the fix from https://git.gnome.org/browse/anjuta/commit/?id=15d803e41f5750dddb89bc0b91a954ba5e3fc52d , the build now fails on i686 with: dir-project.c: In function 'dir_pattern_new': dir-project.c:271:4: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'int' [-Werror=format=] g_string_append_printf (regex, "(.{%ld})", ptr - next); ^ cc1: some warnings being treated as errors
Created attachment 244902 [details] [review] dir-project: Fix compiler warning
Review of attachment 244902 [details] [review]: Thank you, I have committed this fix in both master and gnome-3-8 branch.
We have planned a release 3.8.4 next week including this fix.