blob: b6147fe68e6d85094292639e8efb6b653a3c2fc4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
This addresses a -Werror=missing-braces build failure from GCC bug #53119.
--- a/libdpe/pe_allocspace.c
+++ b/libdpe/pe_allocspace.c
@@ -61,7 +61,7 @@
struct pe32plus_opt_hdr *opthdr = pe->state.pe32plus_exe.opthdr;
Pe_Scn *scn = NULL;
- struct section_header shdr = { 0, }, tmp_shdr;
+ struct section_header shdr = { { 0, } }, tmp_shdr;
if (pehdr->sections < 1)
return -1;
|