Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/properties/ev-properties-view.c
diff options
context:
space:
mode:
authorTobias Mueller <tobiasmue@src.gnome.org>2009-03-05 00:34:49 (GMT)
committer Tobias Mueller <tobiasmue@src.gnome.org>2009-03-05 00:34:49 (GMT)
commit30a392babbccd40030a2da905d809c7208a1b70c (patch)
tree7600963b39b0e19e73b28a7d13cd29b851776c2a /properties/ev-properties-view.c
parent65560c668c5194ad795b41e7546f783f1e073ca5 (diff)
Make the fixed sized string a semantically correct const char[] instead of
* properties/ev-properties-view.c: (ev_properties_view_format_date): Make the fixed sized string a semantically correct const char[] instead of a const char* to fix a compiler warning if built with -Wformat. ** Fixes bug 574168 svn path=/trunk/; revision=3516
Diffstat (limited to 'properties/ev-properties-view.c')
-rw-r--r--properties/ev-properties-view.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/properties/ev-properties-view.c b/properties/ev-properties-view.c
index 6d497ff..e0f1779 100644
--- a/properties/ev-properties-view.c
+++ b/properties/ev-properties-view.c
@@ -112,7 +112,7 @@ ev_properties_view_format_date (GTime utime)
{
time_t time = (time_t) utime;
char s[256];
- const char *fmt_hack = "%c";
+ const char fmt_hack[] = "%c";
size_t len;
#ifdef HAVE_LOCALTIME_R
struct tm t;