We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a417a1e commit 1ec2b7eCopy full SHA for 1ec2b7e
2 files changed
.github/workflows/openw3d.yml
@@ -44,7 +44,14 @@ jobs:
44
shell: msys2 {0}
45
- name: Linux x64
46
os: ubuntu-latest
47
- build-args: --parallel --target scripts bandtest wwbitpack
+ build-args: >
48
+ --parallel
49
+ --target
50
+ scripts
51
+ bandtest
52
+ wwmath
53
+ wwutil
54
+ wwbitpack
55
shell: bash
56
57
steps:
Code/wwbitpack/BitPacker.h
@@ -31,7 +31,7 @@
31
#include "always.h"
32
#include <cstdint>
33
34
-static const int MAX_BITS = 32;
+static constexpr int MAX_BITS = 8 * sizeof(uint32_t);
35
36
// 1400 is too big. Minimum MTU allowable on the internet is 576. IP Header is 20 bytes. UDP header is 8 bytes
37
// So our max packet size is 576 - 28 = 548
0 commit comments