mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
WindowsRT mode build warning fix.
This commit is contained in:
parent
9c60a2c24c
commit
8aae54b7f4
@ -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…
Reference in New Issue
Block a user