Skip to content

Commit

Permalink
fix builds on trusty and precise
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Nov 11, 2016
1 parent a4c7d97 commit 4c6be3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsfiledownloader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ void QgsFileDownloader::onSslErrors( QNetworkReply *reply, const QList<QSslError
Q_UNUSED( reply );
QStringList errorMessages;
errorMessages << "SSL Errors: ";
for ( auto end = errors.size(), i = 0; i != end; ++i )
for ( int end = errors.size(), i = 0; i != end; ++i )
{
errorMessages << errors[i].errorString();
}
Expand All @@ -106,7 +106,7 @@ void QgsFileDownloader::onSslErrors( QNetworkReply *reply, const QList<QSslError

void QgsFileDownloader::error( QStringList errorMessages )
{
for ( auto end = errorMessages.size(), i = 0; i != end; ++i )
for ( int end = errorMessages.size(), i = 0; i != end; ++i )
{
mErrors.append( errorMessages[i] );
}
Expand Down

0 comments on commit 4c6be3a

Please sign in to comment.