From 78e026b4a86d1ab4301191b5e372ac440fde261e Mon Sep 17 00:00:00 2001 From: Viktor Szakats Date: Tue, 27 Jul 2010 16:43:12 +0000 Subject: [PATCH] 2010-07-27 18:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * src/pp/ppcore.c ! Fixed missing const when compiled with HB_PP_STRICT_LINEINFO_TOKEN option. Reported by Frank van Nuffel. --- harbour/ChangeLog | 5 +++++ harbour/src/pp/ppcore.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/harbour/ChangeLog b/harbour/ChangeLog index 2e4c988d2a..610e162298 100644 --- a/harbour/ChangeLog +++ b/harbour/ChangeLog @@ -16,6 +16,11 @@ The license applies to all entries newer than 2009-04-28. */ +2010-07-27 18:42 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) + * src/pp/ppcore.c + ! Fixed missing const when compiled with HB_PP_STRICT_LINEINFO_TOKEN + option. Reported by Frank van Nuffel. + 2010-07-27 18:07 UTC+0200 Viktor Szakats (harbour.01 syenar.hu) * config/postinst.hbs ! Fixed to tar creation. diff --git a/harbour/src/pp/ppcore.c b/harbour/src/pp/ppcore.c index 6f93164bea..f092a394d2 100644 --- a/harbour/src/pp/ppcore.c +++ b/harbour/src/pp/ppcore.c @@ -4908,7 +4908,7 @@ static void hb_pp_condCompileElif( PHB_PP_STATE pState, PHB_PP_TOKEN pToken ) } #if !defined( HB_PP_NO_LINEINFO_TOKEN ) -static void hb_pp_lineTokens( PHB_PP_TOKEN ** pTokenPtr, char * szFileName, int iLine ) +static void hb_pp_lineTokens( PHB_PP_TOKEN ** pTokenPtr, const char * szFileName, int iLine ) { char szLine[ 12 ];