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

            Bug ID: 384426
           Summary: digikam-5.7.0/core/libs/dngwriter/extra/dng_sdk/dng_da
                    te_time.cpp: int / long mixup
           Product: digikam
           Version: 5.7.0
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: digikam-bugs-n...@kde.org
          Reporter: dcb...@hotmail.com
  Target Milestone: ---

[digikam-5.7.0/core/libs/dngwriter/extra/dng_sdk/dng_date_time.cpp:526]:
(warnin
g) %u in format string (no. 1) requires 'unsigned int' but the argument type is 
'unsigned long'.
[digikam-5.7.0/core/libs/dngwriter/extra/dng_sdk/dng_date_time.cpp:612]:
(warnin
g) %u in format string (no. 1) requires 'unsigned int' but the argument type is 
'unsigned long'.
[digikam-5.7.0/core/libs/dngwriter/extra/dng_sdk/dng_date_time.cpp:526]:
(warnin
g) %u in format string (no. 2) requires 'unsigned int' but the argument type is 
'unsigned long'.
[digikam-5.7.0/core/libs/dngwriter/extra/dng_sdk/dng_date_time.cpp:612]:
(warnin
g) %u in format string (no. 2) requires 'unsigned int' but the argument type is 
'unsigned long'.
[digikam-5.7.0/core/libs/dngwriter/extra/dng_sdk/dng_date_time.cpp:526]:
(warnin
g) %u in format string (no. 3) requires 'unsigned int' but the argument type is 
'unsigned long'.
[digikam-5.7.0/core/libs/dngwriter/extra/dng_sdk/dng_date_time.cpp:612]:
(warnin
g) %u in format string (no. 3) requires 'unsigned int' but the argument type is 
'unsigned long'.

There might be specific platforms where int and long are the same size, but in
general it is safer to code that they are different sizes.

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

Reply via email to