From a38b2249f290ba988db252260ef87ca44a8f9138 Mon Sep 17 00:00:00 2001 From: Kelvin Sherlock Date: Thu, 12 Nov 2020 17:38:31 -0500 Subject: [PATCH] fix gcc overload ambiguity errors. --- link.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/link.cpp b/link.cpp index fe8b70e..51702e5 100644 --- a/link.cpp +++ b/link.cpp @@ -813,6 +813,10 @@ void finish(void) { namespace { + void push(std::vector &v, omf::opcode x) { + v.push_back(static_cast(x)); + } + void push(std::vector &v, uint8_t x) { v.push_back(x); }