[gthumb] declare the format as constant in gth_ambumtheme_yyerror



commit 71b0514508eabd35a7f08a51355221c37edf670e
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Tue Nov 1 14:16:53 2011 +0100

    declare the format as constant in gth_ambumtheme_yyerror
    
    fixes a compiler warning

 extensions/webalbums/albumtheme.y |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/extensions/webalbums/albumtheme.y b/extensions/webalbums/albumtheme.y
index b99ea6d..446c9da 100644
--- a/extensions/webalbums/albumtheme.y
+++ b/extensions/webalbums/albumtheme.y
@@ -26,7 +26,7 @@
 #include "albumtheme-private.h"
 
 int   gth_albumtheme_yylex   ();
-void  gth_albumtheme_yyerror (char *fmt, ...);
+void  gth_albumtheme_yyerror (const char *fmt, ...);
 int   gth_albumtheme_yywrap  (void);
 
 #define YY_NO_UNPUT
@@ -451,7 +451,7 @@ gth_albumtheme_yywrap (void)
 
 
 void
-gth_albumtheme_yyerror (char *fmt, ...)
+gth_albumtheme_yyerror (const char *fmt, ...)
 {
 	va_list ap;
 



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