diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-05-20 18:00:07 +0200 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2020-05-28 17:53:23 +0200 |
commit | c991d87ee2c239fedb77f76f25936dddf5eb5982 (patch) | |
tree | 60197b542b192670ba5bddcb24aa3c7754df99e4 /tests/manual/rhi | |
parent | 449b347644a34ab37720874bf9f8bcffe2ea425e (diff) |
rhi: d3d11: Use qstrncpy to avoid MSVC warning
Switch strncpy to qstrncpy, which internally uses strncpy_s with MSVC.
This way we will not get the following warning:
qrhid3d11.cpp(933): warning C4996: 'strncpy': This function or variable
may be unsafe. Consider using strncpy_s instead. To disable deprecation,
use _CRT_SECURE_NO_WARNINGS. See online help for details.
Change-Id: Iaed86033b0fc182e68804f311ac382c93c72abda
Reviewed-by: Christian Strømme <christian.stromme@qt.io>
Diffstat (limited to 'tests/manual/rhi')
0 files changed, 0 insertions, 0 deletions