manually fix warning-prone code in glad output
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user