fix:[TD-25300]dead loop if getchar return EOF in arm64

This commit is contained in:
wangmm0220 2023-07-20 15:40:41 +08:00
parent 9a1b5da48f
commit d031a77b58
1 changed files with 1 additions and 1 deletions

View File

@ -501,7 +501,7 @@ int32_t shellReadCommand(char *command) {
while (1) {
c = taosGetConsoleChar();
if (c == EOF) {
if (c == (char)EOF) {
return c;
}