Merge pull request #1321 from asmorkalov:winrt_mode_warn_fix

pull/1324/head
Roman Donchenko 11 years ago committed by OpenCV Buildbot
commit 20bf1aa244
  1. 2
      modules/contrib/src/inputoutput.cpp

@ -137,7 +137,7 @@ namespace cv
char* fname;
#ifdef HAVE_WINRT
char fname_tmp[MAX_PATH];
size_t copied = wcstombs(fname, FindFileData.cFileName, MAX_PATH);
size_t copied = wcstombs(fname_tmp, FindFileData.cFileName, MAX_PATH);
CV_Assert((copied != MAX_PATH) && (copied != (size_t)-1));
fname = fname_tmp;
#else

Loading…
Cancel
Save