gdcm/gdcm-2.6-fix-narrowing-error.patch

12 lines
494 B
Diff
Raw Normal View History

--- gdcm-2.6.3.orig/Testing/Source/DataStructureAndEncodingDefinition/Cxx/TestElement1.cxx 2016-01-27 14:25:39.000000000 +0100
+++ gdcm-2.6.3/Testing/Source/DataStructureAndEncodingDefinition/Cxx/TestElement1.cxx 2016-02-01 22:34:34.559716794 +0100
@@ -88,7 +88,7 @@
int TestUL()
{
- const char array[4] = {-78, 1, 0, 0}; // 434
+ const signed char array[4] = {-78, 1, 0, 0}; // 434
{
Element<VR::UL, VM::VM1> a;
// reinterpret_cast< const Element<VR::UL, VM::VM1>& > ( array );