mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Janitor: Add type cast
This commit is contained in:
@@ -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