]> www.fi.muni.cz Git - evince.git/blobdiff - properties/ev-properties-view.c
Make the fixed sized string a semantically correct const char[] instead of
[evince.git] / properties / ev-properties-view.c
index 6d497ff3782fed453d9d6bde9900a319c6f7a268..e0f177978638f81c0e398e5fdeb6468e38c524d0 100644 (file)
@@ -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;