From e15783365c3b714dba36e12b2284906fbf5ec532 Mon Sep 17 00:00:00 2001
From: Dmitri Naumov <github@naumov.de>
Date: Thu, 2 Feb 2017 18:59:31 +0100
Subject: [PATCH] [App] Change pos_prev_line type to std::streamoff.

Fixes Applications\FileIO\FEFLOW\FEFLOWMeshInterface.cpp(386): warning C4244: '=': conversion from 'std::streamoff' to 'int', possible loss of data
---
 Applications/FileIO/FEFLOW/FEFLOWMeshInterface.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Applications/FileIO/FEFLOW/FEFLOWMeshInterface.cpp b/Applications/FileIO/FEFLOW/FEFLOWMeshInterface.cpp
index a5327c7ccd7..d835965cc32 100644
--- a/Applications/FileIO/FEFLOW/FEFLOWMeshInterface.cpp
+++ b/Applications/FileIO/FEFLOW/FEFLOWMeshInterface.cpp
@@ -380,7 +380,7 @@ void FEFLOWMeshInterface::readElevation(std::ifstream& in,
     std::size_t l = 0;
     unsigned mode = 0;  // 0: exit, 1: slice no, 2: elevation value, 3:
                         // continued line of mode 2
-    int pos_prev_line = 0;
+    std::streamoff pos_prev_line = 0;
     while (true)
     {
         pos_prev_line = in.tellg();
-- 
GitLab