openbsd-ports/games/wesnoth/patches/patch-src_network_cpp

17 lines
586 B
Plaintext

$OpenBSD: patch-src_network_cpp,v 1.6 2014/11/29 06:46:33 kirby Exp $
--- src/network.cpp.orig Sat Aug 17 17:19:31 2013
+++ src/network.cpp Wed Jul 16 08:10:24 2014
@@ -961,9 +961,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;