From 2bc76761a05002a64e521eeb700639f998794de2 Mon Sep 17 00:00:00 2001 From: doug1234 Date: Sat, 28 Jan 2023 10:55:17 -0500 Subject: [PATCH] Fixed the one VS warning I found (warning level 4) --- lib/jkqtplotter/jkqtpdatastorage.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/jkqtplotter/jkqtpdatastorage.h b/lib/jkqtplotter/jkqtpdatastorage.h index 79a5a29ef5..4ec9b99eec 100644 --- a/lib/jkqtplotter/jkqtpdatastorage.h +++ b/lib/jkqtplotter/jkqtpdatastorage.h @@ -2307,7 +2307,7 @@ class JKQTPLOTTER_LIB_EXPORT JKQTPDatastoreItem { /** \brief if \c isValid() : resize the row to have \a rows_new rows */ inline void resize(size_t rows_new) { JKQTPASSERT(isVector()); - datavec.resize(rows_new); + datavec.resize(static_cast(rows_new)); rows=static_cast(datavec.size()); data=datavec.data(); }