Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix builds on trusty and precise
  • Loading branch information
jef-n committed Nov 11, 2016
1 parent f273e85 commit 2eec236
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gui/qgsfiledownloader.cpp
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 2eec236

Please sign in to comment.