| ... | @@ -473,7 +473,7 @@ static int os_buf_to_tmp_file_posix(Buf *contents, Buf *suffix, Buf *out_tmp_pat | ... | @@ -473,7 +473,7 @@ static int os_buf_to_tmp_file_posix(Buf *contents, Buf *suffix, Buf *out_tmp_pat |
| 473 | } | 473 | } |
| 474 | | 474 | |
| 475 | size_t amt_written = fwrite(buf_ptr(contents), 1, buf_len(contents), f); | 475 | size_t amt_written = fwrite(buf_ptr(contents), 1, buf_len(contents), f); |
| 476 | if (amt_written != buf_len(contents)) | 476 | if (amt_written != (size_t)buf_len(contents)) |
| 477 | zig_panic("write failed: %s", strerror(errno)); | 477 | zig_panic("write failed: %s", strerror(errno)); |
| 478 | if (fclose(f)) | 478 | if (fclose(f)) |
| 479 | zig_panic("close failed"); | 479 | zig_panic("close failed"); |