Fix compiler warning

Fixes:
simft990.c:39:16: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
pull/1831/head
Daniele Forsi IU5HKX 2025-08-05 20:38:57 +02:00
rodzic 725fcee004
commit f691a68c06
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -36,7 +36,7 @@ static void load_dat(const char *filename, unsigned char buf[1492])
sscanf(p, "%x", &val);
buf[n++] = val;
}
while (p = strtok(NULL, " \r\n"));
while ((p = strtok(NULL, " \r\n")));
strtok(s, "\r\n");
//printf("n=%d, %s\n",n,s);