From 47973aaf0be67cb890759bf6dbc6dac62c3535cd Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Thu, 18 Jun 2020 16:45:55 -0400 Subject: Fix o2narc.cpp to work on dinosaur g++ --- tools/o2narc/o2narc.cpp | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'tools/o2narc/o2narc.cpp') diff --git a/tools/o2narc/o2narc.cpp b/tools/o2narc/o2narc.cpp index 6fc82a4e..1b023640 100644 --- a/tools/o2narc/o2narc.cpp +++ b/tools/o2narc/o2narc.cpp @@ -8,16 +8,9 @@ using namespace std; -static Elf32_Sym NullSym { - .st_name = -1u, - .st_value = -1u, - .st_size = 0 -}; +static Elf32_Sym NullSym { 0 }; -static Elf32_Shdr NullShdr { - .sh_name = -1u, - .sh_offset = -1u -}; +static Elf32_Shdr NullShdr { 0 }; class Symtab : public vector { public: -- cgit v1.2.3