Commit 00958d92 authored by Natanael Copa's avatar Natanael Copa

solver: fix compile with -Werror on 64bit

parent 4b7b5d46
......@@ -1664,7 +1664,7 @@ static void update_progress(struct progress *prog, size_t percent)
draw_progress(percent);
if (prog->progress_fd != 0) {
char buf[8];
size_t n = snprintf(buf, sizeof(buf), "%d\n", percent);
size_t n = snprintf(buf, sizeof(buf), "%zu\n", percent);
write(prog->progress_fd, buf, n);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment