1
0
mirror of https://github.com/fumiama/simple-kanban.git synced 2026-06-06 17:00:27 +08:00

fix: non c99

This commit is contained in:
源文雨
2023-03-17 12:30:51 +08:00
parent c006aaa8a0
commit 4c3dcf616c

View File

@@ -554,7 +554,8 @@ static int s1_get(threadtimer_t *timer) { //get kanban
timer->numbytes = 0;
return 0;
}
for(int i = 0; i < timer->numbytes; i++) {
int i = 0;
for(; i < timer->numbytes; i++) {
if(!isdigit(timer->data[i])) {
timer->numbytes -= i;
break;