Use hex constant for packet count.

This commit is contained in:
david 2013-05-03 21:31:02 +00:00
parent 8e4b48adce
commit c9d5dc20e4

View file

@ -610,7 +610,7 @@ bool NpingOps::issetShowSentPackets(){
int NpingOps::setPacketCount(u32 val){
/* If zero is supplied, set highest value */
if( val==0 )
pcount=4294967295u;
this->pcount=0xFFFFFFFF;
else
pcount=val;
this->pcount_set=true;