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

细节修正

This commit is contained in:
fumiama
2021-05-19 13:16:38 +08:00
parent 2b09777a17
commit 226d690c20
4 changed files with 20 additions and 18 deletions

View File

@@ -10,7 +10,7 @@ int main() {
scanf("%s", cfg.pwd);
printf("Enter a set password: ");
scanf("%s", cfg.sps);
uint64_t* types_len = align_struct(sizeof(CONFIG), 2, &cfg.pwd, &cfg.sps);
uint32_t* types_len = align_struct(sizeof(CONFIG), 2, &cfg.pwd, &cfg.sps);
FILE* fp = fopen("cfg.sp", "wb");
if(fp) {
set_pb(fp, types_len, sizeof(CONFIG), &cfg);