Commit 36f9cf4a by Andreas Jaeger Committed by Andreas Jaeger

unwind-dw2.c (_Unwind_GetGR): Avoid warning about unsigned comparison.


	* unwind-dw2.c (_Unwind_GetGR): Avoid warning about unsigned
	comparison.
	(_Unwind_SetGR): Likewise.

From-SVN: r72960
parent 9f6e5a8c
2003-10-26 Andreas Jaeger <aj@suse.de>
* unwind-dw2.c (_Unwind_GetGR): Avoid warning about unsigned
comparison.
(_Unwind_SetGR): Likewise.
2003-10-26 Ottavio Campana <ottavio@campana.vi.it>
PR target/12690
......
......@@ -186,7 +186,7 @@ _Unwind_GetGR (struct _Unwind_Context *context, int index)
void *ptr;
index = DWARF_REG_TO_UNWIND_COLUMN (index);
if (index >= sizeof(dwarf_reg_size_table))
if (index >= (int) sizeof(dwarf_reg_size_table))
abort ();
size = dwarf_reg_size_table[index];
ptr = context->reg[index];
......@@ -224,7 +224,7 @@ _Unwind_SetGR (struct _Unwind_Context *context, int index, _Unwind_Word val)
void *ptr;
index = DWARF_REG_TO_UNWIND_COLUMN (index);
if (index >= sizeof(dwarf_reg_size_table))
if (index >= (int) sizeof(dwarf_reg_size_table))
abort ();
size = dwarf_reg_size_table[index];
ptr = context->reg[index];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment