summaryrefslogtreecommitdiff
path: root/l10ntools/source/xrmlex.l
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-07-01 22:27:20 +0100
committerCaolán McNamara <caolanm@redhat.com>2011-07-01 22:27:20 +0100
commitce5702fca8e7bc6c6f82a0de24abeafc6b316fef (patch)
tree9ab451233897e458026b937d9166686958eaf513 /l10ntools/source/xrmlex.l
parent5e692599df6d47b614b488796747f5faadea63f7 (diff)
ByteString::CreateFromInt32 -> OString::valueOf
Diffstat (limited to 'l10ntools/source/xrmlex.l')
-rw-r--r--l10ntools/source/xrmlex.l6
1 files changed, 3 insertions, 3 deletions
diff --git a/l10ntools/source/xrmlex.l b/l10ntools/source/xrmlex.l
index 6229525d7e84..034812cf61f5 100644
--- a/l10ntools/source/xrmlex.l
+++ b/l10ntools/source/xrmlex.l
@@ -144,7 +144,7 @@ int yywrap(void)
}
/*****************************************************************************/
-void YYWarning( char *s )
+void YYWarning( const char *s )
/*****************************************************************************/
{
/* write warning to stderr */
@@ -154,9 +154,9 @@ void YYWarning( char *s )
/*****************************************************************************/
#ifdef GCC
-void yyerror ( char *s, ... )
+void yyerror ( const char *s, ... )
#else
-void yyerror ( char *s )
+void yyerror ( const char *s )
#endif
/*****************************************************************************/
{