#2162 Context menu: Use Qt typedef ulonglong, not size_t

This commit is contained in:
Rebecca Cox
2017-11-29 15:26:01 +01:00
parent 66082e2160
commit aa318a5aaf
2 changed files with 3 additions and 2 deletions

View File

@@ -71,7 +71,7 @@ void RicEclipseHideFaultFeature::onActionTriggered(bool isChecked)
QVariantList list = userData.toList();
CAF_ASSERT(list.size() == 2);
size_t currentCellIndex = list[0].toUInt();
size_t currentCellIndex = static_cast<size_t>(list[0].toULongLong());
int currentFaceIndex = list[1].toInt();
const RigFault* fault = eclView->mainGrid()->findFaultFromCellIndexAndCellFace(currentCellIndex, cvf::StructGridInterface::FaceType(currentFaceIndex));