Skip to content
Snippets Groups Projects
Commit d5773580 authored by Soeren Peters's avatar Soeren Peters
Browse files

Need to rely on STRCPY.

parent ec2010c3
No related branches found
No related tags found
1 merge request!29Remove compiler warnings.
......@@ -352,7 +352,7 @@ inline char *sdkFindFilePath(const char *filename,
// File found
// returning an allocated array here for backwards compatibility reasons
char *file_path = reinterpret_cast<char *>(malloc(path.length() + 1));
strcpy_s(file_path, path.length() + 1, path.c_str());
STRCPY(file_path, path.length() + 1, path.c_str());
return file_path;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment