Skip to content

Commit

Permalink
Fix build issues on gcc-10 (#999)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrallen authored Feb 22, 2022
1 parent 1445cd5 commit af5c156
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions saiasiccmp/SaiSwitchAsic.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
#include "syncd/SaiSwitchInterface.h"

#include <map>
#include <string>

namespace saiasiccmp
{
Expand Down
2 changes: 1 addition & 1 deletion unittest/vslib/TestTrafficForwarder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ TEST(TrafficForwarder, addVlanTag)

EXPECT_FALSE(TrafficForwarder::addVlanTag(buffer, length, hdr));

struct tpacket_auxdata* aux = (struct tpacket_auxdata*)CMSG_DATA(cmsg);
struct tpacket_auxdata* aux = (struct tpacket_auxdata*)(void*)CMSG_DATA(cmsg);

// https://en.wikipedia.org/wiki/IEEE_802.1Q
//
Expand Down

0 comments on commit af5c156

Please sign in to comment.