~oisf/suricata-daily-git-libhtp-0.5.x/libhtp

« back to all changes in this revision

Viewing changes to test/fuzz/fuzz_htp.c

  • Committer: Victor Julien
  • Date: 2018-12-06 19:04:35 UTC
  • Revision ID: git-v1:03767a983e2bef8af352e630cc07834c777489b6
fuzz: fix minor compile warnings

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
#include "htp/htp.h"
18
18
#include "test/test.h"
19
 
 
 
19
#include "fuzz_htp.h"
20
20
 
21
21
FILE * logfile = NULL;
22
22
 
80
80
    htp_connp_set_user_data(connp, (void *) 0x02);
81
81
    htp_connp_open(connp, (const char *) "192.168.2.3", 12345, (const char *) "192.168.2.2", 80, NULL);
82
82
 
83
 
    test.buf = Data;
 
83
    test.buf = (char *)Data;
84
84
    test.len = Size;
85
85
    test.pos = 0;
86
86
    test.chunk = NULL;