X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=pacer.h;h=b42d73fa26e201c52609d63e711c43def305ce97;hb=7019fcdc8632b5740798e8345b48e23640e2de1b;hp=90d0c4ff39010aceae464dd3f1a1af00e406711c;hpb=3f954bd32d89c220993d14782e73decc5f567abd;p=greproxy diff --git a/pacer.h b/pacer.h index 90d0c4f..b42d73f 100644 --- a/pacer.h +++ b/pacer.h @@ -12,7 +12,7 @@ struct Pacer : public Sender { public: Pacer(Sender *sender, int max_rate_kbit_per_sec, int burst_num_packets); - virtual void send_packet(uint16_t proto, const std::string &data, int incoming_seq); + virtual void send_packet(uint16_t proto, const std::string &data, uint32_t incoming_seq); void possibly_adjust_tv(timeval *tv); void possibly_flush_packets();