evince r3516 - in trunk: . properties



Author: tobiasmue
Date: Thu Mar  5 00:34:49 2009
New Revision: 3516
URL: http://svn.gnome.org/viewvc/evince?rev=3516&view=rev

Log:
    * 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



Modified:
   trunk/ChangeLog
   trunk/properties/ev-properties-view.c

Modified: trunk/properties/ev-properties-view.c
==============================================================================
--- trunk/properties/ev-properties-view.c	(original)
+++ trunk/properties/ev-properties-view.c	Thu Mar  5 00:34:49 2009
@@ -112,7 +112,7 @@
 {
 	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;



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