Feature #436

Cleaning up some MSC x64 warnings

Added by Iñaki Zabala over 11 years ago. Updated over 11 years ago.

Status:ApprovedStart date:02/06/2013
Priority:NormalDue date:
Assignee:Iñaki Zabala% Done:

0%

Category:GeneralSpent time:-
Target version:-

Description

upp\uppsrc\sql\Sqlexp.h(194) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
upp\uppsrc\sql\Sqlexp.h(195) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
upp\uppsrc\Sql\SqlCase.cpp(322) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data

upp\uppsrc\Core\heaputil.cpp(22) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data

upp\uppsrc\Core\lheap.cpp(160) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data
upp\uppsrc\Core\lheap.cpp(189) : warning C4267: 'argument' : conversion from 'size_t' to 'int', possible loss of data

upp\uppsrc\coff\binobj\binobj.cpp(236) : warning C4267: '=' : conversion from 'size_t' to 'Upp::byte', possible loss of data
upp\uppsrc\coff\binobj\binobj.cpp(267) : warning C4267: '=' : conversion from 'size_t' to 'Upp::word', possible loss of data
upp\uppsrc\coff\binobj\binobj.cpp(356) : warning C4267: '=' : conversion from 'size_t' to 'Upp::word', possible loss of data

upp\uppsrc\Painter\Fillers.cpp(220) : warning C4244: 'initializing' : conversion from '__int64' to 'int', possible loss of data
upp\uppsrc\Painter\Fillers.cpp(241) : warning C4244: 'argument' : conversion from '__int64' to 'int', possible loss of data
upp\uppsrc\Painter\Fillers.cpp(296) : warning C4244: 'argument' : conversion from '__int64' to 'int', possible loss of data
upp\uppsrc\Painter\Fillers.cpp(418) : warning C4244: 'argument' : conversion from '__int64' to 'int', possible loss of data

upp\uppsrc\Painter\Mask.cpp(83) : warning C4244: 'argument' : conversion from '__int64' to 'int', possible loss of data

History

#1 Updated by Iñaki Zabala over 11 years ago

In some cases it can be solved using ptrdiff_t

#2 Updated by Miroslav Fidler over 11 years ago

  • Status changed from New to Ready for QA
  • Assignee changed from Miroslav Fidler to Iñaki Zabala

#3 Updated by Miroslav Fidler over 11 years ago

  • Status changed from Ready for QA to Approved

Also available in: Atom PDF