[Debian-med-packaging] Bug#865418: warning: format '%lu' expects argument of type 'long unsigned int*'
Mathieu Malaterre
malat at debian.org
Wed Jun 21 10:01:20 UTC 2017
Source: dcmtk
Version: 3.6.1~20170228-1
I am pretty sure this is a warning that ought to be fixed to prevent segfault:
[...]
/<<PKGBUILDDIR>>/dcmsr/libsrc/dsrtcosp.cc: In member function
'OFCondition DSRReferencedSamplePositionList::putString(const char*)':
/<<PKGBUILDDIR>>/dcmsr/libsrc/dsrtcosp.cc:154:42: warning: format
'%lu' expects argument of type 'long unsigned int*', but argument 3
has type 'Uint32* {aka unsigned int*}' [-Wformat=]
if (sscanf(ptr, "%lu", &value) == 1)
^
[...]
ref:
* Builder: x86-csail-01.debian.org
* Build log: https://buildd.debian.org/status/fetch.php?pkg=dcmtk&arch=i386&ver=3.6.1%7E20170228-1&stamp=1498004632&file=log
More information about the Debian-med-packaging
mailing list