Fix warnings from VS 2017

Open
#10 · Created  · Last updated

Description

Some of the added casts are silly, but the code seems quite inconsistent between signed and unsigned values, and I wanted to keep the changes minimal. I believe everywhere I changed an int to a uint32_t, the values won't ever be negative.

  • Add explicit casts to clean up VS2017 warnings.

    This change should be purely cosmetic and introduce no functional changes.

  • Replace stat with FUSE_STAT.

    stat and FUSE_STAT are not the same (FUSE_STAT can be larger on some platforms), but the dng_attr_mapping struct was using a stat to access a FUSE_STAT.

  • deflicker is an int, use atoi not atof when parsing it

  • Fix additional warnings from XCode

0 attachments

0 comments

Loading commits...