[vlc-devel] commit: Kill a few relocations ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Jun 3 18:38:35 CEST 2009


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Jun  3 19:38:34 2009 +0300| [9f2fb762580b53abfde42d34187ccde8d3be48cc] | committer: Rémi Denis-Courmont 

Kill a few relocations

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9f2fb762580b53abfde42d34187ccde8d3be48cc
---

 modules/misc/logger.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/modules/misc/logger.c b/modules/misc/logger.c
index 5a6fe48..a095e38 100644
--- a/modules/misc/logger.c
+++ b/modules/misc/logger.c
@@ -270,7 +270,7 @@ static int Open( vlc_object_t *p_this )
         if( psz_facility )
         {
             bool b_valid = 0;
-            static const struct { const char *psz_name; int i_value; }
+            static const struct { const char psz_name[7]; int i_value; }
             p_facility[10] = {
                 { "daemon", LOG_DAEMON }, { "user", LOG_USER },
                 { "local0", LOG_LOCAL0 }, { "local1", LOG_LOCAL1 },




More information about the vlc-devel mailing list