[Debian-med-packaging] Bug#865418: Acknowledgement (warning: format '%lu' expects argument of type 'long unsigned int*')

Mathieu Malaterre malat at debian.org
Wed Jun 21 10:05:47 UTC 2017


To a lesser extent those could be fixed as well:

/<<PKGBUILDDIR>>/dcmdata/libsrc/dcpath.cc: In member function
'OFString DcmPath::toString() const':
/<<PKGBUILDDIR>>/dcmdata/libsrc/dcpath.cc:131:44: warning: format
'%lu' expects argument of type 'long unsigned int', but argument 3 has
type 'Uint32 {aka unsigned int}' [-Wformat=]
       sprintf(buf, "[%lu]", (*it)->m_itemNo);
                                            ^
/<<PKGBUILDDIR>>/dcmdata/libsrc/dcpath.cc: In static member function
'static OFCondition DcmPath::separatePathNodes(const OFString&,
OFList<OFString>&)':
/<<PKGBUILDDIR>>/dcmdata/libsrc/dcpath.cc:294:41: warning: format
'%lu' expects argument of type 'long unsigned int', but argument 3 has
type 'Uint32 {aka unsigned int}' [-Wformat=]
         if (sprintf(buf, "[%lu]", itemNo) < 2) return EC_IllegalParameter;

There a couple dozens if you parse the log file.



More information about the Debian-med-packaging mailing list