[Debian-med-packaging] Bug#964401: sight FTBFS on i386: error: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} may change value

Adrian Bunk bunk at debian.org
Mon Jul 6 19:20:29 BST 2020


Source: sight
Version: 20.0.0-1
Severity: serious
Tags: ftbfs

https://buildd.debian.org/status/fetch.php?pkg=sight&arch=i386&ver=20.0.0-1&stamp=1593349313&raw=0

...
/<<PKGBUILDDIR>>/libs/core/fwData/src/fwData/Mesh.cpp: In member function ‘size_t fwData::Mesh::getDataSizeInBytes() const’:
/<<PKGBUILDDIR>>/libs/core/fwData/src/fwData/Mesh.cpp:470:61: error: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} may change value [-Werror=conversion]
  470 |     m_points&& (size += m_points->getElementSizeInBytes() * m_nbPoints);
      |                                                             ^~~~~~~~~~
/<<PKGBUILDDIR>>/libs/core/fwData/src/fwData/Mesh.cpp:471:67: error: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} may change value [-Werror=conversion]
  471 |     m_cellTypes&& (size += m_cellTypes->getElementSizeInBytes() * m_nbCells );
      |                                                                   ^~~~~~~~~
/<<PKGBUILDDIR>>/libs/core/fwData/src/fwData/Mesh.cpp:472:65: error: conversion from ‘long long unsigned int’ to ‘size_t’ {aka ‘unsigned int’} may change value [-Werror=conversion]
  472 |     m_cellData&& (size += m_cellData->getElementSizeInBytes() * m_cellsDataSize);
      |                                                                 ^~~~~~~~~~~~~~~
...


More information about the Debian-med-packaging mailing list