Merge pull request #6491 from ejohnstown/fix-imp-conv

Implicit Type Conversion Fix
This commit is contained in:
JacobBarthelmeh 2023-06-09 13:19:18 -06:00 committed by GitHub
commit 9ffa9faecd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66573,7 +66573,7 @@ static byte* test_find_string(const char *string,
{
int string_size, i;
string_size = XSTRLEN(string);
string_size = (int)XSTRLEN(string);
for (i = 0; i < buf_size - string_size - 1; i++) {
if (XSTRCMP((char*)&buf[i], string) == 0)
return &buf[i];