image header magic field shouldn't be const (removes warning)

This commit is contained in:
Alex Shinn 2012-06-20 21:07:18 -07:00
parent 05d416e17f
commit 8518ebe641

2
main.c
View file

@ -65,7 +65,7 @@ void sexp_usage(int err) {
typedef struct sexp_image_header_t* sexp_image_header; typedef struct sexp_image_header_t* sexp_image_header;
struct sexp_image_header_t { struct sexp_image_header_t {
const char magic[8]; char magic[8];
short major, minor; short major, minor;
sexp_abi_identifier_t abi; sexp_abi_identifier_t abi;
sexp_uint_t size; sexp_uint_t size;