1
0
mirror of https://github.com/fumiama/simple-dict.git synced 2026-06-10 13:10:31 +08:00

适配最新spb

This commit is contained in:
源文雨
2023-07-08 20:03:23 +08:00
parent a1283e714d
commit 09d5bc4fc2
5 changed files with 9 additions and 9 deletions

View File

@@ -18,7 +18,7 @@ int main(int argc, char** argv) {
int ch;
while(has_next(f, ch)) {
SIMPLE_PB* spb = read_pb_into(f, (SIMPLE_PB*)buf);
simple_pb_t* spb = read_pb_into(f, (simple_pb_t*)buf);
struct dict_t* d;
if(!spb) {
fputs("Bad spb file", stderr);