1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-09 03:52:19 +02:00

Bounds check fix

This commit is contained in:
Brian Fiete 2022-04-28 11:21:01 -07:00
parent 3bc57b174e
commit 39cf43102e
2 changed files with 2 additions and 2 deletions

View file

@ -10313,7 +10313,7 @@ BF_EXPORT const char* BF_CALLTYPE BfCompiler_GetGenericTypeInstances(BfCompiler*
auto lookupType = bfCompiler->GetType(checkTypeName);
if (lookupType == NULL)
{
// Sanitize potentially-generic type name into an unspecialized type name
// Convert potentially-specialized type name into an unspecialized type name
int chevronDepth = 0;
int chevronStart = -1;
for (int i = 0; i < (int)checkTypeName.mLength; i++)