mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 09:22:13 -05:00
Janitor: Add type cast
This commit is contained in:
1 parent
2d5313772e
commit
562be98e63
1 file changed
+2
-2
@@ -63,13 +63,13 @@ public:
|
||||
|
||||
if (isFormatted)
|
||||
{
|
||||
writeFormattedHeader(name, data.size(), arrType, element_size);
|
||||
writeFormattedHeader(name, static_cast<int>(data.size()), arrType, element_size);
|
||||
if (arrType != MESS)
|
||||
writeFormattedArray(data);
|
||||
}
|
||||
else
|
||||
{
|
||||
writeBinaryHeader(name, data.size(), arrType, element_size);
|
||||
writeBinaryHeader(name, static_cast<int>(data.size()), arrType, element_size);
|
||||
if (arrType != MESS)
|
||||
writeBinaryArray(data);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user