[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/trinity/applications/tellico/src/translators/pilotdb/libflatfile
From: Timothy Pearson <kb9vqf () pearsoncomputing ! net>
Date: 2010-11-07 20:51:59
Message-ID: 20101107205159.20D0EAC89B () svn ! kde ! org
[Download RAW message or body]
SVN commit 1194000 by tpearson:
Fix FTBFS
M +2 -2 DB.cpp
--- branches/trinity/applications/tellico/src/translators/pilotdb/libflatfile/DB.cpp #1193999:1194000
@@ -242,8 +242,8 @@
kdDebug() << "list view is corrupt" << endl;
}
// Determine the length of the name string.
- pi_char_t* null_ptr = reinterpret_cast<pi_char_t*>
- (memchr(chunk.data() + 4, 0, 32));
+ pi_char_t* null_ptr = const_cast<pi_char_t*>(reinterpret_cast<const pi_char_t*>
+ (memchr(chunk.data() + 4, 0, 32)));
if (null_ptr)
lv.name = std::string((char *) (chunk.data() + 4),
null_ptr - (chunk.data() + 4));
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic