openbsd-ports/games/wesnoth/patches/patch-src_network_cpp
jasper a2735c2a72 - long overdue update of wesnoth to 1.6.5
joint work with tom murphy
thanks to sthen@ for torturing his armish for countless hours.

ok sthen@
2009-11-11 16:01:33 +00:00

17 lines
587 B
Plaintext

$OpenBSD: patch-src_network_cpp,v 1.1 2009/11/11 16:01:34 jasper Exp $
--- src/network.cpp.orig Tue Jul 7 21:50:07 2009
+++ src/network.cpp Tue Jul 7 21:50:37 2009
@@ -871,9 +871,9 @@ struct bandwidth_stats {
int in_packets;
int in_bytes;
int day;
- const static size_t type_width = 16;
- const static size_t packet_width = 7;
- const static size_t bytes_width = 10;
+ static const size_t type_width = 16;
+ static const size_t packet_width = 7;
+ static const size_t bytes_width = 10;
bandwidth_stats& operator+=(const bandwidth_stats& a)
{
out_packets += a.out_packets;