void read_bitmap_metadata(FILE *image, int *pixel_array_offset, int *width, int *height) {
    int pointer;
    pointer = fseek(image, 10, SEEK_SET);
    pixel_array_offset = fread(&pointer, 4, 1, image);
    pointer = fseek(image, 18, SEEK_SET);
    width = fread(&pointer, 4, 1, image);
    pointer = fseek(image, 22, SEEK_SET);
    height = fread(&pointer, 4, 1, image);
}
Why do i get this error? 

assignment to ‘int *’ from ‘size_t’ {aka ‘long unsigned int’} makes pointer from integer without a cast [-Wint-conversion]
   13 |     pixel_array_offset = fread(&pointer, 4, 1, image);