fix argument mismatches between header and c files

This commit is contained in:
Nayan
2025-05-08 17:13:03 -04:00
parent 451df18af9
commit ddf6f8812f
5 changed files with 8 additions and 7 deletions

View File

@@ -61,7 +61,7 @@ void response_build_static_file(char* file_path, content_type content_type,
fseek(file, 0, SEEK_SET);
// Read file into buffer
unsigned char* file_buffer = (char*)malloc(file_size);
char* file_buffer = (char*)malloc(file_size);
if (file_buffer == NULL) {
printf("malloc failed\n");
serve_500(res);