https://bugs.kde.org/show_bug.cgi?id=422457

            Bug ID: 422457
           Summary: kdelibs-4.14.38/dnssd/servicemodel.cpp compile error
           Product: kde
           Version: unspecified
          Platform: Slackware Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: unassigned-b...@kde.org
          Reporter: hpf...@psnarf.org
  Target Milestone: ---

Created attachment 129049
  --> https://bugs.kde.org/attachment.cgi?id=129049&action=edit
Patch fixes servicemodel compile error

SUMMARY
servicemodel.cpp:90:7: error: narrowing conversion of
‘DNSSD::ServiceModel::ServicePtrRole’ from ‘unsigned int’ to ‘int’

FIX: servicemodel.h:71 - change ServicePtrRole assignment from unsigned int to
int
ServicePtrRole = static_cast<int>(0xA06519DE)

STEPS TO REPRODUCE
1. g++ -o servicemodel.o servicemodel.cpp --> compile error
2. change ServicePtrRole assignment from unsigned int to int
3. kdelibs-4.14.38 builds with no errors

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kernel 5.4.44
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.15.0

ADDITIONAL INFORMATION - See Attachment

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to