Skip to content

Commit

Permalink
[IA64] Remove sparse warning from unwind code
Browse files Browse the repository at this point in the history
Running ia64 through sparse gives warnings in the unwind code.

  include/asm-ia64/unwind.h:84:17: error: dubious bitfield without explicit `signed' or `unsigned'

Make the bitfield explicitly unsigned.

Signed-off-by: Keith Owens <kaos@sgi.com>
Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Keith Owens authored and Tony Luck committed Mar 8, 2007
1 parent 8e43d75 commit 1f0ef4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-ia64/unwind.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ struct unw_frame_info {
struct unw_ireg {
unsigned long *loc;
struct unw_ireg_nat {
long type : 3; /* enum unw_nat_type */
unsigned long type : 3; /* enum unw_nat_type */
signed long off : 61; /* NaT word is at loc+nat.off */
} nat;
} r4, r5, r6, r7;
Expand Down

0 comments on commit 1f0ef4e

Please sign in to comment.