From 296ec5aebf52dc65645b0fc5f1e2b189451539fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20K=C3=B6fferlein?= Date: Mon, 11 May 2020 19:24:29 +0200 Subject: [PATCH] Fixed #554: using 64bit coordinates for RVE reader (#555) --- src/rdb/rdb/rdbRVEReader.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/rdb/rdb/rdbRVEReader.cc b/src/rdb/rdb/rdbRVEReader.cc index c3597fcfe..2bcdff3cc 100644 --- a/src/rdb/rdb/rdbRVEReader.cc +++ b/src/rdb/rdb/rdbRVEReader.cc @@ -238,7 +238,7 @@ public: ex.read_word (cell_name, "_.$-"); int m11 = 1, m12 = 0, m21 = 0, m22 = 1; - int x = 0, y = 0; + int64_t x = 0, y = 0; bool cspace = (ex.test ("c") || ex.test ("C")); @@ -348,7 +348,7 @@ public: } - int x, y; + int64_t x, y; ex.read (x); ex.read (y); ex.expect_end (); @@ -376,11 +376,11 @@ public: } - int x1, y1; + int64_t x1, y1; ex.read (x1); ex.read (y1); - int x2, y2; + int64_t x2, y2; ex.read (x2); ex.read (y2);