X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSALOMEDS%2FSALOMEDS_AttributeTableOfReal.cxx;h=c27ff4c6e1bd9947369cf839345de11be4143ca6;hb=5ce2d7b753146bc4f1db52b9b0e5af13c2cad2bd;hp=647d34be5e63a7869d7bc5a923037f0a60e89fc9;hpb=48d150b078ab63d77fbed4de1f8dbd7d3a8767da;p=modules%2Fkernel.git diff --git a/src/SALOMEDS/SALOMEDS_AttributeTableOfReal.cxx b/src/SALOMEDS/SALOMEDS_AttributeTableOfReal.cxx index 647d34be5..c27ff4c6e 100644 --- a/src/SALOMEDS/SALOMEDS_AttributeTableOfReal.cxx +++ b/src/SALOMEDS/SALOMEDS_AttributeTableOfReal.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2014 CEA/DEN, EDF R&D, OPEN CASCADE +// Copyright (C) 2007-2022 CEA/DEN, EDF R&D, OPEN CASCADE // // Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS @@ -92,7 +92,7 @@ std::string SALOMEDS_AttributeTableOfReal::GetRowTitle(int theIndex) void SALOMEDS_AttributeTableOfReal::SetRowTitles(const std::vector& theTitles) { CheckLocked(); - int aLength = theTitles.size(), i; + int aLength = (int)theTitles.size(), i; //!< TODO: conversion from size_t to int if (_isLocal) { CheckLocked(); SALOMEDS::Locker lock; @@ -152,7 +152,7 @@ std::string SALOMEDS_AttributeTableOfReal::GetColumnTitle(int theIndex) void SALOMEDS_AttributeTableOfReal::SetColumnTitles(const std::vector& theTitles) { - int aLength = theTitles.size(), i; + int aLength = (int)theTitles.size(), i; //!< TODO: conversion from size_t to int if (_isLocal) { CheckLocked(); SALOMEDS::Locker lock; @@ -212,7 +212,7 @@ std::string SALOMEDS_AttributeTableOfReal::GetRowUnit(int theIndex) void SALOMEDS_AttributeTableOfReal::SetRowUnits(const std::vector& theUnits) { - int aLength = theUnits.size(), i; + int aLength = (int)theUnits.size(), i; //!< TODO: conversion from size_t to int if (_isLocal) { CheckLocked(); SALOMEDS::Locker lock; @@ -266,7 +266,7 @@ int SALOMEDS_AttributeTableOfReal::GetNbColumns() void SALOMEDS_AttributeTableOfReal::AddRow(const std::vector& theData) { - int aLength = theData.size(), i; + int aLength = (int)theData.size(), i; //!< TODO: conversion from size_t to int if (_isLocal) { CheckLocked(); SALOMEDS::Locker lock; @@ -288,7 +288,7 @@ void SALOMEDS_AttributeTableOfReal::AddRow(const std::vector& theData) void SALOMEDS_AttributeTableOfReal::SetRow(int theRow, const std::vector& theData) { - int aLength = theData.size(), i; + int aLength = (int)theData.size(), i; //!< TODO: conversion from size_t to int if (_isLocal) { CheckLocked(); SALOMEDS::Locker lock; @@ -327,7 +327,7 @@ std::vector SALOMEDS_AttributeTableOfReal::GetRow(int theRow) void SALOMEDS_AttributeTableOfReal::AddColumn(const std::vector& theData) { - int aLength = theData.size(), i; + int aLength = (int)theData.size(), i; //!< TODO: conversion from size_t to int if (_isLocal) { CheckLocked(); SALOMEDS::Locker lock; @@ -349,7 +349,7 @@ void SALOMEDS_AttributeTableOfReal::AddColumn(const std::vector& theData void SALOMEDS_AttributeTableOfReal::SetColumn(int theColumn, const std::vector& theData) { - int aLength = theData.size(), i; + int aLength = (int)theData.size(), i; //!< TODO: conversion from size_t to int if (_isLocal) { CheckLocked(); SALOMEDS::Locker lock;