This patch fixes a build error in networktest.cc that occurs with gcc4.2
This patch fixes a build error in networktest.cc that occurs with gcc4.2

andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin,andrewfu0325/gem5-aladdin