fix: modify build error

This commit is contained in:
Alex Duan 2024-01-06 23:24:36 +08:00
parent 0aef021d88
commit 96947e24d7
1 changed files with 1 additions and 1 deletions

View File

@ -206,7 +206,7 @@ char * strendG(const char* pstr) {
return NULL; return NULL;
} }
char * p = pstr + len - 2 char * p = (char *)pstr + len - 2;
if (strcmp(p, "\\G") == 0) { if (strcmp(p, "\\G") == 0) {
return p; return p;
} }