summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2012-09-30 13:51:29 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2012-09-30 13:51:29 (GMT)
commit9c9313827b29876de43ad5305fd7ac162013359c (patch)
treed18c06222e0f84d6077b586e5633053a8bc09da8 /src/code.l
parent489cefdf7a2ce294a15cb12b866dce13f5664f12 (diff)
downloadDoxygen-9c9313827b29876de43ad5305fd7ac162013359c.zip
Doxygen-9c9313827b29876de43ad5305fd7ac162013359c.tar.gz
Doxygen-9c9313827b29876de43ad5305fd7ac162013359c.tar.bz2
Release-1.8.2-20120930
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/code.l b/src/code.l
index d365c7c..9930f8a 100644
--- a/src/code.l
+++ b/src/code.l
@@ -565,7 +565,7 @@ static void codifyLines(const char *text)
{
g_yyLineNr++;
//*(p-1)='\0';
- int l = p-sp-1;
+ int l = (int)(p-sp-1);
char *tmp = (char*)malloc(l+1);
memcpy(tmp,sp,l);
tmp[l]='\0';