Commit 30a392ba authored by Tobias Mueller's avatar Tobias Mueller

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
parent 65560c66
2009-03-05 Tobias Mueller <tobiasmue@svn.gnome.org>
* 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
2009-03-03 Christian Persch <chpe@gnome.org>
* libdocument/ev-document-factory.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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment