Skip to content

Commit

Permalink
Bug 741417 - Crash when building gtkmm documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dimitri van Heesch committed Dec 17, 2014
1 parent 2716fc4 commit 050fce2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions qtools/qcstring.cpp
Expand Up @@ -247,9 +247,9 @@ QCString QCString::right( uint len ) const

QCString QCString::mid( uint index, uint len) const
{
int slen = length();
uint slen = (uint)length();
if (len==0xffffffff) len = slen-index;
if (isEmpty() || (int)index>=slen || len==0)
if (isEmpty() || index>=slen || len==0)
{
return QCString();
}
Expand Down
1 change: 1 addition & 0 deletions src/doxygen.cpp
Expand Up @@ -1010,6 +1010,7 @@ static Definition *buildScopeFromQualifiedName(const QCString name,
while (i<level)
{
int idx=getScopeFragment(name,p,&l);
if (idx==-1) return prevScope;
QCString nsName = name.mid(idx,l);
if (nsName.isEmpty()) return prevScope;
if (!fullScope.isEmpty()) fullScope+="::";
Expand Down

0 comments on commit 050fce2

Please sign in to comment.