Project

General

Profile

Patch #1015

Avoid MSVC x64 compiler warning in futils.cpp

Added by Thomas Beutlich almost 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
build
Target version:
Start date:
30 Dec 2014
Due date:
% Done:

100%

Estimated time:

Description

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 ==========


Files

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

Associated revisions

Revision 3509 (diff)
Added by Robin Mills almost 7 years ago

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

History

#1

Updated by Robin Mills almost 7 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 almost 7 years ago

  • Category set to build
  • Assignee set to Robin Mills
#3

Updated by Robin Mills almost 7 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 over 6 years ago

  • % Done changed from 0 to 100
#5

Updated by Andreas Huggel over 6 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF