freebsd-ports/textproc/ctpp2/files/patch-src-CTPP2VM.cpp
Veniamin Gvozdikov 19f210dc2a * Fix build on FreeBSD 10 with clang 3.3
* Split patch from PR

PR:		ports/189134
Submitted by:	Shambler <shambler@gmx.us>
2014-05-02 10:42:25 +00:00

11 lines
658 B
C++

--- src/CTPP2VM.cpp.orig 2012-08-02 11:22:44.000000000 +0400
+++ src/CTPP2VM.cpp 2014-05-02 18:06:25.521278402 +0400
@@ -1440,7 +1440,7 @@
if (oRegs[iSrcReg].GetType() == CDT::HASH_VAL)
{
- CDT::Iterator it = oRegs[iSrcReg].Begin();
+ CDTIterator it = oRegs[iSrcReg].Begin();
for (INT_32 iI = 0; iI < iIdx; ++iI) { ++it; }
#ifdef _DEBUG
fprintf(stderr, "(`%s`): %s\n", it->first.c_str(), it->second.GetString().c_str());