Skip to content

Commit f527d91

Browse files
committed
Avoid warnings in FastInput
1 parent 849afd6 commit f527d91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

content/various/FastInput.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@
1313

1414
struct GC {
1515
char buf[1 << 16];
16-
int bc = 0, be = 0;
16+
size_t bc = 0, be = 0;
1717
char operator()() {
1818
if (bc >= be) {
19-
buf[0] = bc = 0;
19+
buf[0] = 0, bc = 0;
2020
be = fread(buf, 1, sizeof(buf), stdin);
2121
}
2222
return buf[bc++]; // returns 0 on EOF

0 commit comments

Comments
 (0)