1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-06-02 09:22:36 +02:00

Constify `operands' in src/dwarf/Gexpr.c

This commit is contained in:
Tommi Rantala 2012-09-19 13:49:37 +03:00
parent ee8df26288
commit 088ac53775

View file

@ -49,7 +49,7 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#define OFFSET 0x6 /* 32-bit offset for 32-bit DWARF, 64-bit otherwise */
#define ADDR 0x7 /* Machine address. */
static uint8_t operands[256] =
static const uint8_t operands[256] =
{
[DW_OP_addr] = OPND1 (ADDR),
[DW_OP_const1u] = OPND1 (VAL8),