Patch #1015

Avoid MSVC x64 compiler warning in futils.cpp

Added by Thomas Beutlich about 4 years ago. Updated over 3 years ago.

Status:ClosedStart date:30 Dec 2014
Priority:NormalDue date:
Assignee:Robin Mills% Done:


Target version:0.25


The attached patch fixes the MSVC x64 compiler warning (treated as error) if EXV_UNICODE_PATH is defined:

1>------ Build started: Project: exiv2lib, Configuration: Release x64 ------
1>  futils.cpp
1>..\..\src\futils.cpp(322): error C2220: warning treated as error - no 'object' file generated
1>..\..\src\futils.cpp(322): warning C4267: 'initializing' : conversion from 'size_t' to 'int', possible loss of data
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

futils_cpp.patch Magnifier (494 Bytes) Thomas Beutlich, 30 Dec 2014 21:39

Associated revisions

Revision 3509
Added by Robin Mills about 4 years ago

#1013 and #1015. Thank You, Thomas, for reporting these and for the fixes.


#1 Updated by Robin Mills about 4 years ago

  • Status changed from New to Assigned

Thanks, Thomas. Happy New Year. I will add this fix when I get home from vacation.

On which compiler/platform did you find this?

#2 Updated by Robin Mills about 4 years ago

  • Category set to build
  • Assignee set to Robin Mills

#3 Updated by Robin Mills about 4 years ago

  • Status changed from Assigned to Resolved

Fix submitted: r3509. Thanks to Thomas for reporting this and providing the patch.

#4 Updated by Robin Mills almost 4 years ago

  • % Done changed from 0 to 100

#5 Updated by Andreas Huggel over 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF

Redmine Appliance - Powered by TurnKey Linux