X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fdev%2Fetherdump.hh;h=cc8fa9151262a11aec534e7385756d50221472da;hb=9957035a42653a0666e30c744ab02fb0074db3a3;hp=18a5d2c44ceedf7937ee8db7be4d5ba54274c2ab;hpb=6cfff91d43885f60cbe30a7b237c69fcc85e31a2;p=gem5.git diff --git a/src/dev/etherdump.hh b/src/dev/etherdump.hh index 18a5d2c44..cc8fa9151 100644 --- a/src/dev/etherdump.hh +++ b/src/dev/etherdump.hh @@ -36,9 +36,10 @@ #define __ETHERDUMP_H__ #include + #include "dev/etherpkt.hh" -#include "sim/sim_object.hh" #include "params/EtherDump.hh" +#include "sim/sim_object.hh" /* * Simple object for creating a simple pcap style packet trace @@ -47,7 +48,7 @@ class EtherDump : public SimObject { private: std::ostream *stream; - const int maxlen; + const unsigned maxlen; void dumpPacket(EthPacketPtr &packet); void init();