manually fix warning-prone code in glad output

This commit is contained in:
Jarcode
2019-09-08 16:43:04 -07:00
parent 04ca255cd2
commit 0592a422a1

View File

@@ -193,7 +193,7 @@ static int get_exts(void) {
#if _MSC_VER >= 1400
strncpy_s(local_str, len+1, gl_str_tmp, len);
#else
strncpy(local_str, gl_str_tmp, len+1);
strcpy(local_str, gl_str_tmp);
#endif
}
exts_i[index] = local_str;