Commit 20bf1aa2 authored by Roman Donchenko's avatar Roman Donchenko Committed by OpenCV Buildbot

Merge pull request #1321 from asmorkalov:winrt_mode_warn_fix

parents fe4c7ae4 8aae54b7
...@@ -137,7 +137,7 @@ namespace cv ...@@ -137,7 +137,7 @@ namespace cv
char* fname; char* fname;
#ifdef HAVE_WINRT #ifdef HAVE_WINRT
char fname_tmp[MAX_PATH]; 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)); CV_Assert((copied != MAX_PATH) && (copied != (size_t)-1));
fname = fname_tmp; fname = fname_tmp;
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment