Skip to content

Commit

Permalink
Re #7480. Try to clear GCC compiler warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellTaylor committed Jul 18, 2013
1 parent 7b45de8 commit 65b8f66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/Framework/Remote/src/RemoteJobManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ RemoteJobManager::JobManagerErrorCode HttpRemoteJobManager::uploadFile( const st
postData << httpLineEnd;

infile.seekg (0, std::ios_base::end);
long fileLen = infile.tellg();
auto fileLen = infile.tellg();
infile.seekg (0, std::ios_base::beg);

req.setContentLength( postData.str().size() + fileLen + strlen(httpLineEnd) + finalBoundaryLine.size());
Expand Down

0 comments on commit 65b8f66

Please sign in to comment.