Signed-off-by: Diego Elio Pettenò <[email protected]>
---
 src/mtp_pcap.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/mtp_pcap.c b/src/mtp_pcap.c
index 052813f..9b6de81 100644
--- a/src/mtp_pcap.c
+++ b/src/mtp_pcap.c
@@ -51,7 +51,7 @@ struct pcaprec_hdr {
 
 int mtp_pcap_write_header(int fd)
 {
-       static struct pcap_hdr hdr = {
+       static const struct pcap_hdr hdr = {
                .magic_number   = 0xa1b2c3d4,
                .version_major  = 2,
                .version_minor  = 4,
-- 
1.7.8.6


Reply via email to