Ignore:
Timestamp:
10/07/05 17:31:17 (16 years ago)
Author:
Daniel Lawson <dlawson@…>
Branches:
4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
Children:
9daf398
Parents:
5c88a60
Message:

cleaned up after compiling with -Wall -W

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/format_helper.c

    r39b37d2 r9c6aa95  
    3333#include "config.h"
    3434
     35#include <stdlib.h>
     36#include <stdio.h>
     37#include <string.h>
    3538#ifdef HAVE_INTTYPES_H
    3639#  include <inttypes.h>
     
    119122
    120123        if (!trace->event.packet.buffer) {
    121                 trace->event.packet.buffer = malloc(4096);
     124                trace->event.packet.buffer = (void *)malloc(4096);
    122125                trace->event.packet.size=
    123126                        trace_read_packet(trace,packet);
Note: See TracChangeset for help on using the changeset viewer.